Skip to content

classify-samples.py run failed #21

@alexhegit

Description

@alexhegit

root@8f88fbfbe029:/data/repo/test# python classify-samples.py -c /root/caffe/ -m epoch_30/ -d untrained-samples/
Traceback (most recent call last):
File "classify-samples.py", line 113, in
main()
File "classify-samples.py", line 95, in main
classifier = ImageClassifier(model_dir)
File "classify-samples.py", line 13, in init
self.net = caffe.Net(deploy_file, caffe.TEST, weights=weights_file)
Boost.Python.ArgumentError: Python argument types in
Net.init(Net, str, int)
did not match C++ signature:
init(boost::python::api::object, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, int)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions