Check Failed:registry.count (type) = = 1 (0 vs. 1) Unknown layer Type:python__python

Source: Internet
Author: User

The following error often occurs when using the Caffe Python layer:

Check Failed:registry.count (type) = = 1 (0 vs. 1) Unknown layer Type:python
The reason for this is that the support for Python is not turned on, and you need to open the following switch in the makefile.conf file:

With_python_layer=1 
then makes
&&
make Pycaffe This can be supported

but there is an error after this modification. The
CD $PYTHONPATH
entered this path and found that the new environment variable configuration did not take effect ...
If you want it to take effect immediately, you need to execute the following command:
source ~/.BASHRC

Then the problem was solved.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.