Skip to content
New issue

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

DeSubpixelConv2D missing layer #3

Open
GlaucoAmigo opened this issue Aug 12, 2024 · 1 comment
Open

DeSubpixelConv2D missing layer #3

GlaucoAmigo opened this issue Aug 12, 2024 · 1 comment

Comments

@GlaucoAmigo
Copy link

After fixing some imports, I am getting this error:
Could you provide the custom_object, or maybe a link to a working Google Colab notebook?

[/usr/local/lib/python3.10/dist-packages/keras/src/legacy/saving/serialization.py](https://localhost:8080/#) in class_and_config_for_serialized_keras_object(config, module_objects, custom_objects, printable_module_name)
    352     )
    353     if cls is None:
--> 354         raise ValueError(
    355             f"Unknown {printable_module_name}: '{class_name}'. "
    356             "Please ensure you are using a `keras.utils.custom_object_scope` "

ValueError: Unknown layer: 'DeSubpixelConv2D'. Please ensure you are using a `keras.utils.custom_object_scope` and that this object is included in the scope. See https://www.tensorflow.org/guide/keras/save_and_serialize#registering_the_custom_object for details.
@shubhamgupto
Copy link

Hey @santoshpanda1995 Thank you for your amazing work!

I am facing the same above issue while trying to reproduce the paper results, could you please update the repository?

colab for reference - https://colab.research.google.com/drive/1kUvvGtU-h4JllF9H6CcKRFtLeIMCghuA?usp=sharing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants