Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot load existing computation graph. #6552
My code is very simple :
path2Net refers to the path where my .zip is located. The .zip contains a JSON file edited in version 1.0.0-alpha.
In version 1.0.0-alpha, everything worked well. I upgraded my version to 1.0.0-beta2 and I have the following error message :
"Error deserializing ComputationGraphConfiguration - configuration may have a custom layer, vertex or preprocessor, in pre version 1.0.0-alpha JSON format. These layers can be deserialized by first registering them with NeuralNetConfiguration.registerLegacyCustomClassesForJSON(Class...)"
Please someone can help me ?
Well, does this network have a custom layer or vertex?
If there are no custom layers/vertices/preprocessors, then we'll need to debug this. Either you can share your network file, or open it in a zip program and just share the configuration.json file, and I'll take a look.
Hi Alex. Thanks for answering.
Please find attached my .zip containing configuration.json
Thanx for you help.
added a commit
Oct 11, 2018
referenced this issue
Oct 11, 2018
Thanks for the model. I was able to reproduce this, and fix it here: #6560
Once the pull request linked above is merged, you can access the fix using snapshots: https://deeplearning4j.org/docs/latest/deeplearning4j-config-snapshots