Comments (3)
Hello, I often get IndexError: list index out of range
errors when generating NuScenes training data. Usually, they look like this
Is my situation normal?
It looks like it's because of scene_depth_results
is empty. And the code about updating 'scene_depth_results':
How should I modify this code?
from r3d3.
Hi @heiheishuang , thank you for your interest in our work and sorry for the delayed response.
About the speed of generating the data: I've just used a single GPU to generate the data and it took me a couple of days. I guess if you have multiple GPUs available you could try to modify the code such that you can specify which gpu should be used. Then you could divide all nuScenes scenes into n split-files and n config-files where each file would look as follows:
nuScenes_split_gpu0.txt:
scene-0000
scene-0000
...
dataset_generation_nuscenes_gpu0.yaml:
...
datasets:
validation:
split: [nuScenes_split_gpu0.txt]
...
...
...
you could then run the script simultaneously multiple times for each available gpu (assuming you also have sufficient memory):
python evaluate.py --config <path_to_config>/dataset_generation_nuscenes_gpu0.yaml
About the error you've encountered: Sorry for the trouble this caused. For the specific scenes where this error occurs, the algorithm fails to do any reasonable scene reconstruction (e.g. because the scene is static) and thus no estimations are accumulated. This in itself is not an issue because we do not want to train on such sequences anyway. It can be fixed by simply changing L174 in eval_dataset.py to ...
if 'depth' in self.metrics and len(scene_depth_results) >= 1:
... i.e. we skip evaluation for scenes where we do not have any predictions. I've changed the code accordingly.
Note about NuScenes training: If you generate the data for NuScenes from scratch I suggest you remove L138 in NuScenesDataset.py. We actually had a bug in our training where the intrinsics we used for NuScenes were slightly off. Thus this line is there to get the same results as in the paper. You might be able to achieve better results by using the correct NuScenes intrinsics.
from r3d3.
Hello, I have modified this code: if 'depth' in self.metrics and len(scene_depth_results) >= 1:
But a new error has appeared.
"I'm training on the DDAD dataset, but encountered an error similar to the one shown in the image. Initially, I suspected that the scene 000199 in my dataset was downloaded incorrectly. So, as shown in the image, I used scene 000198 as the last one, but still encountered the error 'IndexError: index 3906 is out of bounds for dimension 0 with size 3900'. What should I do to modify the code?"
from r3d3.
Related Issues (16)
- About the results of two frames HOT 2
- No module named 'externals.efm_datasets.efm_datasets.dataloaders.DDADDataset' HOT 4
- Test in a new scene HOT 2
- In checkpoint but not in model HOT 2
- visualization using open3D HOT 1
- Is the reconstructed scene scaled? HOT 1
- how to generate the point cloud results
- Visualization with or without post-processing? HOT 4
- The need for Eigen when installing HOT 1
- The purpose of generating training data and why it's so slow? HOT 2
- ValueError: The deleter and context arguments are mutually exclusive.
- How about without spatial-temporal edges?
- [Question] Trajectory estimation result on each camera (DDAD)
- About thirdparty
- cuda out of memory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from r3d3.