AttributeError: 'str' object has no attribute '_run'
opened this issue · comments
Deleted user commented
When I call python ./predict.py, I get the following error. any idea?
Traceback (most recent call last):
File "./predict.py", line 27, in <module>
saver.restore(session,os.path.join(model_folder))
File "C:\Users\ALIEN\Anaconda3\lib\site-packages\tensorflow_core\python\training\saver.py"
, line 1290, in restore
{self.saver_def.filename_tensor_name: save_path})
File "C:\Users\ALIEN\Anaconda3\lib\site-packages\tensorflow_core\python\client\session.py"
, line 955, in run
result = self._run(None, fetches, feed_dict, options_ptr,
AttributeError: 'str' object has no attribute '_run'