You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempts at loading a model from the prototxt file, caffemodel file, and proto file have failed in a manner very similar to Issue #22
Expected Behavior
Running sh test_human16.sh . should produce the behavior described in the README.md.
Outside of this, given a .prototxt file, .caffemodel file, and .proto file for an arbitrary caffe model, it should be possible to use any of the various caffe2pytorch utilities (caffe2pytorch, pytorch-caffe, Caffe2Pytorch, deep-learning-model-convertor) to convert the caffe model to a pytorch model (as it does with the other caffe models that have been tested).
Current Behavior
In both cases, both running the model based on the README instructions and trying to convert the model, the code returns the following error:
ParseError: 13:3 : Message type "caffe.LayerParameter" has no field named "image_data_lstm_param".
Possible Solution
Only two results for image_data_lstm_param come up with a Google search. Both of them are from the 3d pose estimation repo. This suggests that these layer parameters are unique to this caffe model.
Steps to Reproduce
Download repo with git clone https://github.com/chanyn/3Dpose_ssl.git
Build 3Dssl Caffe & Install Tensorflow
Download the appropriate Dataset and/or provided pre-trained models
Multiple possible options for this step:
Run sh test_human16.sh . ../models/model_extension_mask3d/mask3d_iter_400000.caffemodel mask3d 5 as suggested in the README
Try converting model to Pytorch with a tool like pytorch-caffe
For all the zip files that did contain .prototxt and .caffemodel files, no combinations worked with the available caffe.proto.
Possible Implementation
Aside from attempting to manually reconstruct and retrain the model architecture from the paper details (which would be highly at-risk of error and/or deviation from the reported results), updating the protobuf file seems like both the quickest and least-risky fix.
Thank you for the link! And thank you for updating the link in the README.md! I will see if this fixes it.
Is this caffe.proto built for the files in the /models in the unzipped 3Dpose_ssl.tar.gz file? or should it also work with the ones from the Google drive links in the README?
(will provide updates on how the contents of this folder work)
Attempts at loading a model from the prototxt file, caffemodel file, and proto file have failed in a manner very similar to Issue #22
Expected Behavior
Running
sh test_human16.sh .
should produce the behavior described in the README.md.Outside of this, given a
.prototxt
file,.caffemodel
file, and.proto
file for an arbitrary caffe model, it should be possible to use any of the various caffe2pytorch utilities (caffe2pytorch, pytorch-caffe, Caffe2Pytorch, deep-learning-model-convertor) to convert the caffe model to a pytorch model (as it does with the other caffe models that have been tested).Current Behavior
In both cases, both running the model based on the README instructions and trying to convert the model, the code returns the following error:
Possible Solution
Only two results for
image_data_lstm_param
come up with a Google search. Both of them are from the 3d pose estimation repo. This suggests that these layer parameters are unique to this caffe model.Steps to Reproduce
git clone https://github.com/chanyn/3Dpose_ssl.git
sh test_human16.sh . ../models/model_extension_mask3d/mask3d_iter_400000.caffemodel mask3d 5
as suggested in the READMEAll will result in the same error:
ParseError: 13:3 : Message type "caffe.LayerParameter" has no field named "image_data_lstm_param".
Detailed Description
In the latest comment in Issue #22, the topic of "downloading the entire zip file" is brought up.
Not only does the protobuf file
3Dpose_ssl/caffe-3dssl/src/caffe/proto/caffe.proto
appear to be out-of-date, but the following links from the README all seem to lack alternatives:caffe.proto
files)caffe.proto
files)caffe.proto
files)caffe.proto
files)caffe.proto
files)caffe.proto
files)For all the zip files that did contain
.prototxt
and.caffemodel
files, no combinations worked with the availablecaffe.proto
.Possible Implementation
Aside from attempting to manually reconstruct and retrain the model architecture from the paper details (which would be highly at-risk of error and/or deviation from the reported results), updating the protobuf file seems like both the quickest and least-risky fix.
Looking forward to the response, @kezewang & @chanyn
Context (Environment)
Both the README instructions and alternative Caffe-to-Pytorch conversions have been attempted in the following environments:
Environment 1: (Google Colab (pre-Caffe-installation))
Environment 2: (Google Colab (post-Caffe-installation))
Environment 3: (Local Linux Laptop)
Given the consistency of the problem between environments, it does not seem that reconfiguring Caffe installation is a viable solution to this.
The text was updated successfully, but these errors were encountered: