clementpinard / unsupervised-depthnet Goto Github PK
View Code? Open in Web Editor NEWUnsupervised Training of DepthNet
Home Page: https://clementpinard.fr/unsupervised_depthnet/
License: MIT License
Unsupervised Training of DepthNet
Home Page: https://clementpinard.fr/unsupervised_depthnet/
License: MIT License
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
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'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.