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 am trying to run this project, but I can't. I am currently getting this, when I run inference.py:
Traceback (most recent call last):
File "/home/lasse/Real-Time-Super-Resolution/inference.py", line 6, in
generator.load_weights('weights/GeneratorVG4(1520).h5')
File "/home/lasse/.local/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 122, in error_handler
raise e.with_traceback(filtered_tb) from None
File "/home/lasse/.local/lib/python3.10/site-packages/keras/src/legacy/saving/legacy_h5_format.py", line 369, in load_weights_from_hdf5_group
raise ValueError(
ValueError: Weight count mismatch for layer #2 (named rrd_block in the current model, rrd_block in the save file). Layer expects 60 weight(s). Received 62 saved weight(s)
The text was updated successfully, but these errors were encountered:
Hello,
I am trying to run this project, but I can't. I am currently getting this, when I run inference.py:
Traceback (most recent call last):
File "/home/lasse/Real-Time-Super-Resolution/inference.py", line 6, in
generator.load_weights('weights/GeneratorVG4(1520).h5')
File "/home/lasse/.local/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 122, in error_handler
raise e.with_traceback(filtered_tb) from None
File "/home/lasse/.local/lib/python3.10/site-packages/keras/src/legacy/saving/legacy_h5_format.py", line 369, in load_weights_from_hdf5_group
raise ValueError(
ValueError: Weight count mismatch for layer #2 (named rrd_block in the current model, rrd_block in the save file). Layer expects 60 weight(s). Received 62 saved weight(s)
The text was updated successfully, but these errors were encountered: