Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Tensor flow-gpu no more. Only Tensorflow #167

Open
dunlookme opened this issue Mar 1, 2023 · 0 comments
Open

Error: Tensor flow-gpu no more. Only Tensorflow #167

dunlookme opened this issue Mar 1, 2023 · 0 comments

Comments

@dunlookme
Copy link

Exception in thread Thread-5 (_main):
Traceback (most recent call last):
File "C:\Users\andre\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
self.run()
File "C:\Users\andre\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\andre\Desktop\auto-maple-2.3.5\auto-maple-2.3.5\src\modules\bot.py", line 75, in _main
model = detection.load_model()
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\andre\Desktop\auto-maple-2.3.5\auto-maple-2.3.5\src\detection\detection.py", line 19, in load_model
return tf.saved_model.load(model_dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\andre\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow\python\saved_model\load.py", line 836, in load
result = load_partial(export_dir, None, tags, options)["root"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\andre\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow\python\saved_model\load.py", line 966, in load_partial
loader = Loader(object_graph_proto, saved_model_proto, export_dir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\andre\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow\python\saved_model\load.py", line 195, in init
self._restore_checkpoint()
File "C:\Users\andre\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow\python\saved_model\load.py", line 531, in _restore_checkpoint
load_status.assert_existing_objects_matched()
File "C:\Users\andre\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow\python\checkpoint\checkpoint.py", line 848, in assert_existing_objects_matched
_objects_with_attributes(
File "C:\Users\andre\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow\python\checkpoint\checkpoint.py", line 744, in _objects_with_attributes
return [o for o in full_list if o._gather_saveables_for_checkpoint()] # pylint: disable=protected-access
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\andre\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow\python\checkpoint\checkpoint.py", line 744, in
return [o for o in full_list if o._gather_saveables_for_checkpoint()] # pylint: disable=protected-access
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\andre\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow\python\trackable\base.py", line 676, in _gather_saveables_for_checkpoint
if saveable_object_util.trackable_has_serialize_to_tensor(self):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\andre\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow\python\training\saving\saveable_object_util.py", line 745, in trackable_has_serialize_to_tensor
if "_serialize_to_tensors" in obj.dict:
^^^^^^^^^^^^
File "C:\Users\andre\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow\python\trackable\data_structures.py", line 823, in getattribute
return super().getattribute(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: this dict descriptor does not support '_DictWrapper' objects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant