Trying to fix a tensorflow model from an older version of tensorflow than what I have. I’m getting a ValueError that seems to be from a library version issue, but I’m really not sure how to fix that.
Please help me.
Here is the error message from the terminal:
File "/opt/anaconda3/envs/TUMprep/lib/python3.10/site-packages/keras/src/backend/common/variables.py", line 550, in standardize_shape
raise ValueError(
ValueError: Cannot convert '(128, 16.0)' to a shape. Found invalid entry '16.0' of type '<class 'float'>'.
File "/opt/anaconda3/envs/TUMprep/lib/python3.10/site-packages/keras_tuner/src/engine/oracle.py", line 545, in _check_consecutive_failures
raise RuntimeError(
RuntimeError: Number of consecutive failures exceeded the limit of 3.
I’ve been fixing the program and updating some of the formatting to fit the current version of tensorflow, but I don’t know how to fix the library version issue. Some suggestions to fix it would be amazing!
Fallon Rowerdink is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1