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):


 "site-packages\matplotlib\backends\backend_wx.py", line 1163, in _onMotion


 "site-packages\matplotlib\backend_bases.py", line 1966, in motion_notify_event


 "site-packages\matplotlib\cbook.py", line 554, in process


 "site-packages\matplotlib\cbook.py", line 416, in __call__


 "CellProfiler\cellprofiler\gui\editobjectsdlg.py", line 1122, in on_mouse_moved


 "CellProfiler\cellprofiler\gui\editobjectsdlg.py", line 1479, in handle_mouse_moved_pick_second_mode
AttributeError: 'NoneType' object has no attribute 'get_data'
