Coder Social home page Coder Social logo

depthmapper's People

Contributors

matchstic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

depthmapper's Issues

Failed to run calibrate.py script

I am using jetson nano to compute stereo disparity maps using your script. But it fails to compute calibration. Please let me know how to fix this.

Thanks in advance.

Hit any key when you have the chessboard prepared
Calibration :: Computing...
Traceback (most recent call last):
File "calibrate.py", line 20, in
main()
File "calibrate.py", line 17, in main
calibrator.compute_calibration(True)
File "/home/madara/Documents/depthmapper/lib/calibration.py", line 68, in compute_calibration
calibrator = StereoCalibrator( self.chessboard_rows, self.chessboard_cols, self.chessboard_size, (self.width, self.height))
File "/home/madara/.local/lib/python3.6/site-packages/stereovision/calibration.py", line 190, in init
corner_coordinates = np.zeros((np.prod(pattern_size), 3), np.float32)
File "<array_function internals>", line 6, in prod
File "/home/madara/.local/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 3000, in prod
keepdims=keepdims, initial=initial, where=where)
File "/home/madara/.local/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 87, in _wrapreduction
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
TypeError: cannot perform reduce with flexible type

Error while creating environment

when i run this command :

conda env create -f environment.yml

i got an error like this :

Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound: 
  - pytorch=1.2.0
  - torchvision=0.4.0
  - cudatoolkit=10.0
  - cudnn=7.6.5

I don't know what the issue is so I come to find some help

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.