Commit 94a0df07 authored by Yuxin Wu's avatar Yuxin Wu

rename imgaug/noname to imgaug/misc

parent f131dfff
......@@ -366,6 +366,7 @@ def autodoc_skip_member(app, what, name, obj, skip, options):
'get_predictors',
'vs_name_for_predictor',
'RandomCropAroundBox',
'GaussianDeform',
'dump_chkpt_vars',
'VisualQA',
'ParamRestore']:
......
......@@ -10,7 +10,7 @@ from six.moves import zip, map
from collections import Counter
import json
__all__ = ['VisualQA']
__all__ = []
def read_json(fname):
......
......@@ -23,7 +23,11 @@ except ImportError:
from ...utils import logger
logger.warn("Cannot import 'cv2', therefore image augmentation is not available.")
else:
_CURR_DIR = os.path.dirname(__file__)
for _, module_name, _ in iter_modules(
[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('_'):
global_import(module_name)
# -*- coding: UTF-8 -*-
# File: noname.py
# File: misc.py
# Author: Yuxin Wu <ppwwyyxx@gmail.com>
from .base import ImageAugmentor
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment