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

Error when running test_human16.sh: Check failed: FLAGS_weights.size() > 0 (0 vs. 0) Need model weights to score. #25

Open
joshhaug opened this issue Jun 24, 2020 · 1 comment

Comments

@joshhaug
Copy link

Using the code located at the dropbox link in the README, I was able to successfully compile Caffe and PyCaffe. But when I try to run sh test_human16.sh . ../models/model_extension_mask3d/mask3d_iter_400000.caffemodel mask3d 5 I get the following error:

mask3d/result1
sed s#DATA_FOLDER#/home/3Dpose_ssl/data/h36m/gt/test/test1.txt#g ./template_16_merge.prototxt > ./test_tmp.prototxt
F0623 23:22:46.469914 29140 caffe.cpp:263] Check failed: FLAGS_weights.size() > 0 (0 vs. 0) Need model weights to score.
*** Check failure stack trace: ***
    @     0x7f5ce2a215cd  google::LogMessage::Fail()
    @     0x7f5ce2a23433  google::LogMessage::SendToLog()
    @     0x7f5ce2a2115b  google::LogMessage::Flush()
    @     0x7f5ce2a23e1e  google::LogMessageFatal::~LogMessageFatal()
    @           0x40a5b4  test()
    @           0x4078d4  main
    @     0x7f5ce11b7830  __libc_start_main
    @           0x4081e9  _start
    @              (nil)  (unknown)
test_human16.sh: line 49: 29140 Aborted                 (core dumped) ../caffe-3dssl/build/tools/caffe test -gpu=1 -model=$tmp_proto_fn_2
test_human16.sh: line 46: -weights=../models/model_extension_mask3d/mask3d_iter_400000.caffemodel: No such file or directory

Any idea what could be causing this? The file mask3d_iter_400000.caffemodel is definitely in that location. I even tried using a complete path (not a relative one) and got the same error.

@kezewang
Copy link
Collaborator

kezewang commented Jul 3, 2020

I am afraid this is still the path issue. Please try with the absolute path.

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