Giter VIP home page Giter VIP logo

Comments (6)

weiliu89 avatar weiliu89 commented on August 15, 2024

I have no idea. What is your OS environment etc.? It might be some problem related to protobuf

from caffe.

zhiqizhang avatar zhiqizhang commented on August 15, 2024

I have the exact same problem. I am using Ubuntu 1.5

Thanks.

from caffe.

weiliu89 avatar weiliu89 commented on August 15, 2024

Have you tried to run this ipynb to see if it can load the labelmap prototxt or not?

from caffe.

CHUNYUWANG avatar CHUNYUWANG commented on August 15, 2024

I am using Windows Server 2012 and met the same problem. I tried ipynb and it failed to load the labelmap -- the returned list is empty. The training process runs successfully until the testing stage. I guess it is because the detection_output_layer needs labelmap and finds it empty.

from caffe.

zhiqizhang avatar zhiqizhang commented on August 15, 2024

I have fixed this problem by double check my Path. and I found that my old python path pointed to another caffe python path.

from caffe.

AndrewZhao avatar AndrewZhao commented on August 15, 2024

I have fixed the problem on the condition of python3.In the ./script/creat_annoset.py

lmf = open(label_map_file, "rb") try: text_format.Merge(str(lmf.read()), label_map) except: print("Cannot parse label map file: {}".format(label_map_file)) sys.exit()

I changed this:
text_format.Merge(str(lmf.read()), label_map) =>text_format.Merge(lmf.read(), label_map)

Thx~

from caffe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.