Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
seminar-breakout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shashank Suhas
seminar-breakout
Commits
94a0df07
Commit
94a0df07
authored
Aug 18, 2017
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename imgaug/noname to imgaug/misc
parent
f131dfff
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
+7
-2
docs/conf.py
docs/conf.py
+1
-0
tensorpack/dataflow/dataset/visualqa.py
tensorpack/dataflow/dataset/visualqa.py
+1
-1
tensorpack/dataflow/imgaug/__init__.py
tensorpack/dataflow/imgaug/__init__.py
+4
-0
tensorpack/dataflow/imgaug/misc.py
tensorpack/dataflow/imgaug/misc.py
+1
-1
No files found.
docs/conf.py
View file @
94a0df07
...
@@ -366,6 +366,7 @@ def autodoc_skip_member(app, what, name, obj, skip, options):
...
@@ -366,6 +366,7 @@ def autodoc_skip_member(app, what, name, obj, skip, options):
'get_predictors'
,
'get_predictors'
,
'vs_name_for_predictor'
,
'vs_name_for_predictor'
,
'RandomCropAroundBox'
,
'RandomCropAroundBox'
,
'GaussianDeform'
,
'dump_chkpt_vars'
,
'dump_chkpt_vars'
,
'VisualQA'
,
'VisualQA'
,
'ParamRestore'
]:
'ParamRestore'
]:
...
...
tensorpack/dataflow/dataset/visualqa.py
View file @
94a0df07
...
@@ -10,7 +10,7 @@ from six.moves import zip, map
...
@@ -10,7 +10,7 @@ from six.moves import zip, map
from
collections
import
Counter
from
collections
import
Counter
import
json
import
json
__all__
=
[
'VisualQA'
]
__all__
=
[]
def
read_json
(
fname
):
def
read_json
(
fname
):
...
...
tensorpack/dataflow/imgaug/__init__.py
View file @
94a0df07
...
@@ -23,7 +23,11 @@ except ImportError:
...
@@ -23,7 +23,11 @@ except ImportError:
from
...utils
import
logger
from
...utils
import
logger
logger
.
warn
(
"Cannot import 'cv2', therefore image augmentation is not available."
)
logger
.
warn
(
"Cannot import 'cv2', therefore image augmentation is not available."
)
else
:
else
:
_CURR_DIR
=
os
.
path
.
dirname
(
__file__
)
for
_
,
module_name
,
_
in
iter_modules
(
for
_
,
module_name
,
_
in
iter_modules
(
[
os
.
path
.
dirname
(
__file__
)]):
[
os
.
path
.
dirname
(
__file__
)]):
srcpath
=
os
.
path
.
join
(
_CURR_DIR
,
module_name
+
'.py'
)
if
not
os
.
path
.
isfile
(
srcpath
):
continue
if
not
module_name
.
startswith
(
'_'
):
if
not
module_name
.
startswith
(
'_'
):
global_import
(
module_name
)
global_import
(
module_name
)
tensorpack/dataflow/imgaug/
noname
.py
→
tensorpack/dataflow/imgaug/
misc
.py
View file @
94a0df07
# -*- coding: UTF-8 -*-
# -*- coding: UTF-8 -*-
# File:
noname
.py
# File:
misc
.py
# Author: Yuxin Wu <ppwwyyxx@gmail.com>
# Author: Yuxin Wu <ppwwyyxx@gmail.com>
from
.base
import
ImageAugmentor
from
.base
import
ImageAugmentor
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment