Traceback (most recent call last):


 "./train.py", line 210, in <module>

config = get_config(model, dataset)


 "./train.py", line 165, in get_config

max_epoch=FLAGS.num_epoch,


 "/data1/rextang/.local/lib/python2.7/site-packages/tensorpack/train/config.py", line 215, in __init__

last_epoch = self._get_last_epoch()


 "/data1/rextang/.local/lib/python2.7/site-packages/tensorpack/train/config.py", line 237, in _get_last_epoch

return JSONWriter.load_existing_epoch_number()


 "/data1/rextang/.local/lib/python2.7/site-packages/tensorpack/callbacks/monitor.py", line 322, in load_existing_epoch_number

stats = JSONWriter.load_existing_json()


 "/data1/rextang/.local/lib/python2.7/site-packages/tensorpack/callbacks/monitor.py", line 308, in load_existing_json

fname = os.path.join(dir, JSONWriter.FILENAME)


 "/usr/lib64/python2.7/posixpath.py", line 77, in join

elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'

Traceback (most recent call last):


 "/usr/local/lib/python3.6/site-packages/flask_appbuilder/base.py", line 469, in _add_permission

self.sm.add_permissions_view(baseview.base_permissions, baseview.__class__.__name__)


 "/usr/local/lib/python3.6/site-packages/flask_appbuilder/security/manager.py", line 819, in add_permissions_view

if perm_view.permission.name not in base_permissions:
AttributeError: 'NoneType' object has no attribute 'name'
