Replies: 2 comments 9 replies
-
Please report the version you are using |
Beta Was this translation helpful? Give feedback.
9 replies
-
This error cannot be fixed due to tensorflow limitations. But I'm adding a message in #839. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I use 'module load deepmd/compress dp compress input.json -i 1.3-model.pb -o compressed-model.pb' to compress a model and it goes wrong. How can I adress this problem?
Traceback (most recent call last):
File "/data/share/apps/deepmd/compress/bin/dp", line 8, in
sys.exit(main())
File "/data/share/apps/deepmd/compress/lib/python3.8/site-packages/deepmd/main.py", line 327, in main
compress(**dict_args)
File "/data/share/apps/deepmd/compress/lib/python3.8/site-packages/deepmd/entrypoints/compress.py", line 108, in compress
freeze(checkpoint_folder=checkpoint_folder, output=output, node_names=None)
File "/data/share/apps/deepmd/compress/lib/python3.8/site-packages/deepmd/entrypoints/freeze.py", line 147, in freeze
input_graph_def = graph.as_graph_def()
File "/data/share/apps/deepmd/compress/lib/python3.8/site-packages/tensorflow/python/framework/ops.py", line 3294, in as_graph_def
result, _ = self._as_graph_def(from_version, add_shapes)
File "/data/share/apps/deepmd/compress/lib/python3.8/site-packages/tensorflow/python/framework/ops.py", line 3211, in _as_graph_def
graph.ParseFromString(compat.as_bytes(data))
google.protobuf.message.DecodeError: Error parsing message
Beta Was this translation helpful? Give feedback.
All reactions