Git Product home page Git Product logo

Comments (13)

nikolausmayer avatar nikolausmayer commented on May 19, 2024

Might be an issue with leveldb in which case running a system update might help.
What's the output of apt-cache policy libleveldb-dev | grep "Installed"?

from flownet2.

whrljt avatar whrljt commented on May 19, 2024

Thank you for replying. I run 'apt-cache policy libleveldb-dev | grep "Installed"' in my terminal, and the output of it is nothing. Is there something wrong?

from flownet2.

nikolausmayer avatar nikolausmayer commented on May 19, 2024

Ah sorry, you might be on another OS language. Just run apt-cache policy libleveldb-dev.

from flownet2.

whrljt avatar whrljt commented on May 19, 2024

libleveldb-dev:
已安装:1.18-5
候选: 1.18-5
版本列表:
*** 1.18-5 500
500 http://cn.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status

from flownet2.

nikolausmayer avatar nikolausmayer commented on May 19, 2024

Hm, that's fine. Can you please run VERBOSE=1 make tools and post the entire output?

from flownet2.

whrljt avatar whrljt commented on May 19, 2024

CXX tools/compute_image_mean.cpp
tools/compute_image_mean.cpp:11:34: fatal error: caffe/proto/caffe.pb.h: 没有那个文件或目录
compilation terminated.
Makefile:581: recipe for target '.build_release/tools/compute_image_mean.o' failed
make: *** [.build_release/tools/compute_image_mean.o] Error 1

Thank you! And '没有那个文件或目录' means 'There is no such file or directory'.

from flownet2.

nikolausmayer avatar nikolausmayer commented on May 19, 2024

Thanks for the translation ;)
This looks like the initial compilation of caffe.pb.h had already failed. Does make all succeed?

from flownet2.

whrljt avatar whrljt commented on May 19, 2024

CXX .build_release/src/caffe/proto/caffe.pb.cc
CXX tools/compute_image_mean.cpp

These two all can be compiled successfully. It seem just convert_imageset_and_flow.cpp and convert_imageset_and_disparity.cpp will fail with the same issue.

from flownet2.

whrljt avatar whrljt commented on May 19, 2024

And I have install another caffe before, is it an influence?

from flownet2.

nikolausmayer avatar nikolausmayer commented on May 19, 2024

If your environment variables and paths do not include anything from your previous Caffe installation, it should not be a problem. But I am a little confused.
Your first error message suggests a leveldb error, but your installed version is ok. Are you using a different (local) leveldb installation?
Your second message looks like caffe.pb.h is not available. But your last message show that it builds without a problem (and compute_image_mean builds as well which depends on caffe.pb.h).

In any case, you do not need the tools folder unless you want to create your own datasets for training or testing. Maybe leaving that out is an option for you?

from flownet2.

whrljt avatar whrljt commented on May 19, 2024

Sorry for don't say it clearly. The first leveldb error is the result of running 'make all' , and compute_image_mean can builds without problem. The caffe.pb.h error is the result of running 'VERBOSE=1 make tools', I also don't why this two kinds of error occurred.
Need I try to uninstall leveldb and install is again?
And I will try to remove this two cpp, thank you for your comments very much!

from flownet2.

nikolausmayer avatar nikolausmayer commented on May 19, 2024

I also don't really understand why make tools should generate a different error, since it is already in make -j5 all tools pycaffe which the README recommends.

I don't think you need to reinstall leveldb (but you can try it, of course!). Your installed version is ok, it's also the one used in https://github.com/lmb-freiburg/flownet2-docker. But if you have another leveldb installation somewhere, that might interfere.

Sorry, but I can't really help any more here.

from flownet2.

whrljt avatar whrljt commented on May 19, 2024

You have helped me a lot. Thank you very much.

from flownet2.

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.