when i run this command as flow in $SNPE_ROOT/bin/x86_64-linux-clang:
snpe-tensorflow-to-dlc --input_network ~/snpe-1.40.0.2130/forzen_mobilenet_v2_1.pb \
--input_dim input "1,224,224,3" \
--out_node "MobilenetV2/Predictions/Reshape_1" \
--output_path ./mobilenet_v2.dlc \
--allow_unconsumed_nodes
I got the error:
ValueError: cannot reshape array of size 2 into shape (1,)
May I ask what caused this? how to solve this problem?
Thanks,
Best regards!
The tensorflow version I use is 1.1.0, which is too old and caused this problem.
The tensorflow version I use is 1.1.0, which is too old and caused this problem.