Traceback (most recent call last):


 "/home/isr/ISR/assistant.py", line 90, in <module>

prediction=args['prediction'],


 "/home/isr/ISR/assistant.py", line 17, in run

session_type, generator, conf, dataset = setup(config_file, default, training, prediction)


 "/home/isr/ISR/utils/utils.py", line 188, in setup

conf['weights_paths']['generator'], conf['generators'][generator], generator


 "/home/isr/ISR/utils/utils.py", line 61, in get_config_from_weights

w_path = os.path.basename(w_path)


 "/usr/lib/python3.5/posixpath.py", line 139, in basename

i = p.rfind(sep) + 1
AttributeError: 'NoneType' object has no attribute 'rfind'

Traceback (most recent call last):


 "/Users/samuel/anaconda3/envs/deeplearning/lib/python3.6/site-packages/gensim/models/word2vec.py", line 1330, in load

model = super(Word2Vec, cls).load(*args, **kwargs)


 "/Users/samuel/anaconda3/envs/deeplearning/lib/python3.6/site-packages/gensim/models/base_any2vec.py", line 1244, in load

model = super(BaseWordEmbeddingsModel, cls).load(*args, **kwargs)


 "/Users/samuel/anaconda3/envs/deeplearning/lib/python3.6/site-packages/gensim/models/base_any2vec.py", line 603, in load

return super(BaseAny2VecModel, cls).load(fname_or_handle, **kwargs)


 "/Users/samuel/anaconda3/envs/deeplearning/lib/python3.6/site-packages/gensim/utils.py", line 426, in load

obj = unpickle(fname)


 "/Users/samuel/anaconda3/envs/deeplearning/lib/python3.6/site-packages/gensim/utils.py", line 1384, in unpickle

return _pickle.load(f, encoding='latin1')
AttributeError: Can't get attribute 'hash' on <module '__main__' from 'plot/demo/embedding.py'>
