GithubHelp home page GithubHelp logo

Comments (9)

luomomo avatar luomomo commented on June 6, 2024 1

in windows , we can change
# -*- coding: utf-8 -*- to # -*- coding: gbk -*-
to avoid IO error
This may help if some one crash with:

sys.stdout.write('\r%s |%s| %s%% %s' % (prefix, bar, percent, suffix))
IOError: [Errno 0] Error

from cbmv.

kbatsos avatar kbatsos commented on June 6, 2024

You don't need a GPU to generate the cost-volume. The cost-optimization and post-processing require a GPU but you can use any other method after you get the cost volume.

from cbmv.

luomomo avatar luomomo commented on June 6, 2024

Hi, I finally set set up the project. But I find there are some syntax errors in runing main.py. Is that because I use pyhton v3.x but you use v2.x?

from cbmv.

kbatsos avatar kbatsos commented on June 6, 2024

Yes the project is using python 2.7. We did not migrate to python 3.

from cbmv.

luomomo avatar luomomo commented on June 6, 2024

I am writing to ask about the boost version. After v1.64, they remove numeric module. And I use v1.70 now ,so the C++ solution can not work. How can you solve this? And what is you boost version?

from cbmv.

ccj5351 avatar ccj5351 commented on June 6, 2024

from cbmv.

luomomo avatar luomomo commented on June 6, 2024

Hi,I get boost.python in cpp/lib/Release(featextract.lib,matchers.lib,rectification.lib) .But the python file always error in import librectification as rect, where should I put them or how can I take use of these dll/lib? (I have try some ways like change them to xx.pyd and put them outside at the same file of main.py)

from cbmv.

luomomo avatar luomomo commented on June 6, 2024

Hi ,I found it always crash.
File ".\test.py", line 623, in test_model
pgb.printProgressBar(batch_index/r_s,math.ceil(self.h/r_s), prefix='Progress', suffix='Complete', length=50 )
File ".\progressbar.py", line 18, in printProgressBar
sys.stdout.write('\r%s |%s| %s%% %s' % (prefix, bar, percent, suffix))
IOError: [Errno 0] Error
so I don't use progressbar
but it seems crashed:
Cost volume: ./.prob.npy not exists!
Batch testing
Iterations: 4.0
Progress |--------------------------------------------------| 0.0% Complete
(base) D:\py_project>

from cbmv.

kbatsos avatar kbatsos commented on June 6, 2024

Testing might take sometime depending on the number of threads you can use on your computer. Just let it run.

from cbmv.

Related Issues (12)

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.