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
On running the pretrained mobilenet model on tf2.4; I get the following error:
14:45:53.439 > Traceback (most recent call last):
File "main.py", line 19, in <module>
File "_aftershoot.py", line 217, in _aftershoot.run_inference
File "_aftershoot.py", line 60, in _aftershoot.init_jpegs
File "raw_handler\img_init.py", line 31, in init raw_handler.img_init
File "ml_modules\face_detector\FaceDetector.py", line 120, in ml_modules.face_detector.FaceDetector.BatchFaceDetector.__init__
File "tensorflow\python\training\tracking\util.py", line 2118, in restore
File "tensorflow\python\training\tracking\util.py", line 2035, in read
File "tensorflow\python\training\tracking\util.py", line 1320, in restore
File "tensorflow\python\training\tracking\base.py", line 209, in restore
File "tensorflow\python\training\tracking\base.py", line 914, in _restore_from_checkpoint_position
File "tensorflow\python\training\tracking\util.py", line 297, in restore_saveables
File "tensorflow\python\training\saving\functional_saver.py", line 340, in restore
File "tensorflow\python\training\saving\functional_saver.py", line 316, in restore_fn
File "tensorflow\python\training\saving\functional_saver.py", line 111, in restore
File "tensorflow\python\training\saving\saveable_object_util.py", line 127, in restore
File "tensorflow\python\ops\resource_variable_ops.py", line 311, in shape_safe_assign_variable_handle
File "tensorflow\python\framework\tensor_shape.py", line 1134, in assert_is_compatible_with
ValueError: Shapes (7, 7, 3, 64) and (3, 3, 3, 32) are incompatible
┗ ----------------------------
┏ Electron -------------------
14:45:53.548 > Sentry is attempting to send 0 pending error messages
Waiting up to 2 seconds
Press Ctrl-Break to quit
┗ ----------------------------
┏ Electron -------------------
14:45:55.347 > close: false
However, the resnet50 model works without any issues.
Any ideas as to what can be done to get the mobilenet model running on Tensorflow 2.4?
On running the pretrained mobilenet model on tf2.4; I get the following error:
However, the resnet50 model works without any issues.
Any ideas as to what can be done to get the mobilenet model running on Tensorflow 2.4?
@peteryuX
The text was updated successfully, but these errors were encountered: