Coder Social home page Coder Social logo

Comments (7)

fyu avatar fyu commented on June 9, 2024 1

Did you use my caffe for training? https://github.com/fyu/caffe-dilation

It is not necessary to run prediction.

from dilation.

fyu avatar fyu commented on June 9, 2024 1

@vigorous0503 if caffe_pb2 doesn't exist, you can try to make clean and build the binary again. See if that solves your problem.

If you copy caffe_pb2 from original caffe, you will get the above error, since ImageLabelDataParameter doesn't exist in the original caffe.

from dilation.

XiangChen1994 avatar XiangChen1994 commented on June 9, 2024

yeah,I forgot to change caffe-root , I used another caffe before. Thanks!

from dilation.

vigorous0503 avatar vigorous0503 commented on June 9, 2024

Hi all,
Sorry, I have the same question, and I have already added the ${BUILD_DIR}/build_master/python into my PYTHONPATH, but it still appears the same error.

There is another stranger thing, after I make pycaffe, there is no caffe_pb2 in ${BUILD_DIR}/build_master/python/caffe/proto, and I try to copy it from original caffe which is already built, is it ok?

Thanks!

from dilation.

 avatar commented on June 9, 2024

I tried to use your caffe, and import caffe in the train.py, however, it turns out ImportError: No module named _caffe. When I use another caffe in predict.py, it works well. I don't know how to fix it. Could you help me? Thank you! It seems that some files in ../caffe-dilation/python/caffe/ failed to be generate...?

from dilation.

fyu avatar fyu commented on June 9, 2024

@Dandue Please check README of caffe-dilation. Or #11

from dilation.

lillyro avatar lillyro commented on June 9, 2024

"Make sure that the Caffe version is newer than commit 08c5df."
So I use the latest version of caffe. But it still turns out AttributeError: 'module' object has no attribute 'ImageLabelDataParameter'. I also have changed the path of caffe root.
Is it necessary for us to use the version of your own caffe? https://github.com/fyu/caffe-dilation
What about other newer version of caffe?
Thank you very much!

from dilation.

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.