apple / tensorflow_macos

TensorFlow for macOS 11.0+ accelerated using Apple's ML Compute framework.
Other
3.67k stars 308 forks source link

load_weights() for a user-defined model throwing Nonetype exception : Tensorflow #211

Open The69Boi opened 3 years ago

The69Boi commented 3 years ago
Exception ignored in: <function _CheckpointRestoreCoordinatorDeleter.__del__ at 0x13cc7ed30>
Traceback (most recent call last):
  File "/Users/akhileshr/miniforge3/envs/tensorflow-v1/lib/python3.8/site-packages/tensorflow/python/training/tracking/util.py", line 157, in __del__
TypeError: 'NoneType' object is not callable

This is the error that i get while loading a saved checkpoint cpkt file.