Coder Social home page Coder Social logo

clementpinard / unsupervised-depthnet Goto Github PK

View Code? Open in Web Editor NEW
59.0 4.0 8.0 117 KB

Unsupervised Training of DepthNet

Home Page: https://clementpinard.fr/unsupervised_depthnet/

License: MIT License

Python 100.00%
kitti depthnet sfm-learner cityscapes

unsupervised-depthnet's Issues

On width_to_focal

Hi, i have some puzzle about the codes to convert disparity to depth.
width_to_focal[1242] = 721.5377. width_to_focal[1241] = 718.856. width_to_focal[1224] = 707.0493. width_to_focal[1238] = 718.3351
I wonder where to find these parameters. Are they in calibration files?
Thanks

Error in prepare_train_data.py when processing in parallel

There is an error in prepare_train_data.py when run in parallel --num-threads > 1. Is that caused by a bug? Thank you!

The error message is like below.

joblib.externals.loky.process_executor._RemoteTraceback: 
"""
Traceback (most recent call last):
  File "/home/venv-py3/lib/python3.5/site-packages/joblib/externals/loky/process_executor.py", line 420, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "/home/venv-py3/lib/python3.5/site-packages/joblib/_parallel_backends.py", line 563, in __call__
    return self.func(*args, **kwargs)
  File "/home/venv-py3/lib/python3.5/site-packages/joblib/parallel.py", line 261, in __call__
    for func, args, kwargs in self.items]
  File "/home/venv-py3/lib/python3.5/site-packages/joblib/parallel.py", line 261, in <listcomp>
    for func, args, kwargs in self.items]
  File "data/prepare_train_data.py", line 33, in dump_example
    dump_dir = args.dump_root/scene_data['rel_path']
AttributeError: 'Namespace' object has no attribute 'dump_root'
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "data/prepare_train_data.py", line 105, in <module>
    main()
  File "data/prepare_train_data.py", line 87, in main
    Parallel(n_jobs=args.num_threads)(delayed(dump_example)(scene) for scene in tqdm(data_loader.scenes))
  File "/home/venv-py3/lib/python3.5/site-packages/joblib/parallel.py", line 996, in __call__
    self.retrieve()
  File "/home/venv-py3/lib/python3.5/site-packages/joblib/parallel.py", line 899, in retrieve
    self._output.extend(job.get(timeout=self.timeout))
  File "/home/venv-py3/lib/python3.5/site-packages/joblib/_parallel_backends.py", line 517, in wrap_future_result
    return future.result(timeout=timeout)
  File "/usr/lib/python3.5/concurrent/futures/_base.py", line 405, in result
    return self.__get_result()
  File "/usr/lib/python3.5/concurrent/futures/_base.py", line 357, in __get_result
    raise self._exception
AttributeError: 'Namespace' object has no attribute 'dump_root'

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.