We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am running the ISR Prediction Tutorial.ipynb on Google Colab using the dataset given.
While running the code to create the model as shown below, model = RRDN(weights='gans')
It is showing this error. /usr/local/lib/python3.7/dist-packages/tensorflow_core/python/keras/saving/hdf5_format.py in load_weights_from_hdf5_group(f, layers) 649 """ 650 if 'keras_version' in f.attrs: --> 651 original_keras_version = f.attrs['keras_version'].decode('utf8') 652 else: 653 original_keras_version = '1'
AttributeError: 'str' object has no attribute 'decode'
In the subsequent, hdf5_format.py file I tried taking off '.decode('utf8')' but it gives the same error.
The text was updated successfully, but these errors were encountered:
https://github.com/idealo/image-super-resolution#weights-loading
Sorry, something went wrong.
Thank you so much! Works for me now
No branches or pull requests
I am running the ISR Prediction Tutorial.ipynb on Google Colab using the dataset given.
While running the code to create the model as shown below,
model = RRDN(weights='gans')
It is showing this error.
/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/keras/saving/hdf5_format.py in load_weights_from_hdf5_group(f, layers)
649 """
650 if 'keras_version' in f.attrs:
--> 651 original_keras_version = f.attrs['keras_version'].decode('utf8')
652 else:
653 original_keras_version = '1'
AttributeError: 'str' object has no attribute 'decode'
In the subsequent, hdf5_format.py file I tried taking off '.decode('utf8')' but it gives the same error.
The text was updated successfully, but these errors were encountered: