You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to disable the speed hack by setting SPLIT_MODEL to False, but I keep getting an error "RuntimeError: Attempted to use a closed Session.":
> Press 'q' to Exit
Traceback (most recent call last):
File "objectdetection_image.py", line 20, in <module>
main()
File "objectdetection_image.py", line 17, in main
model.run()
File "/Volumes/Data/Projects/realtime_object_detection/src/realtime_object_detection/rod/model.py", line 235, in run
self.detect()
File "/Volumes/Data/Projects/realtime_object_detection/src/realtime_object_detection/rod/model.py", line 521, in detect
self.run_default_sess()
File "/Volumes/Data/Projects/realtime_object_detection/src/realtime_object_detection/rod/model.py", line 430, in run_default_sess
options=self._run_options, run_metadata=self._run_metadata)
File "/Volumes/Data/Projects/realtime_object_detection/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 929, in run
run_metadata_ptr)
File "/Volumes/Data/Projects/realtime_object_detection/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1075, in _run
raise RuntimeError('Attempted to use a closed Session.')
RuntimeError: Attempted to use a closed Session.
Is there a fix to this?
Thanks
The text was updated successfully, but these errors were encountered:
Hi
I'm trying to disable the speed hack by setting
SPLIT_MODEL
toFalse
, but I keep getting an error "RuntimeError: Attempted to use a closed Session.":Is there a fix to this?
Thanks
The text was updated successfully, but these errors were encountered: