Commit 59553585 authored by Yuxin Wu's avatar Yuxin Wu

fix import (#84)

parent 99a216bf
...@@ -124,7 +124,7 @@ class SendStat(Callback): ...@@ -124,7 +124,7 @@ class SendStat(Callback):
SendStat('curl -u your_id: https://api.pushbullet.com/v2/pushes \ SendStat('curl -u your_id: https://api.pushbullet.com/v2/pushes \
-d type=note -d title="validation error" \ -d type=note -d title="validation error" \
-d body={validation_error} > /dev/null 2>&1', -d body={validation_error} > /dev/null 2>&1',
'validation_error') 'validation_error')
""" """
def __init__(self, command, stats): def __init__(self, command, stats):
self.command = command self.command = command
......
...@@ -10,7 +10,7 @@ import os.path ...@@ -10,7 +10,7 @@ import os.path
from . import dataset from . import dataset
from . import imgaug from . import imgaug
__all__ = [] __all__ = ['dataset', 'imgaug', 'dftools']
def _global_import(name): def _global_import(name):
p = __import__(name, globals(), locals(), level=1) p = __import__(name, globals(), locals(), level=1)
......
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