Skip to content

Commit

Permalink
Cleanup and fixes in Blenderproc datageneration code
Browse files Browse the repository at this point in the history
  • Loading branch information
nv-jeff committed Apr 24, 2024
1 parent 97fd285 commit 378831e
Show file tree
Hide file tree
Showing 3 changed files with 194 additions and 162 deletions.
5 changes: 2 additions & 3 deletions data_generation/blenderproc_data_gen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ If you run into troubles, please consult the [project's own github page](https:/

Run the blenderproc script 5 times, each time generating 1000 frames. Each frame will have five copies of the object and ten randomly chosen distractor objects:
```
./run_blenderproc_datagen.py --nb_runs 5 --nb_frames 1000 --path_single_obj ../models/Ketchup --nb_objects 5 --distractors_folder ../google_scanned_models/ --nb_distractors 10 --backgrounds_folder ../dome_hdri_haven/ --nb_frames 10 --outf ./output
./run_blenderproc_datagen.py --nb_runs 1 --nb_frames 10 --path_single_obj ../models/Ketchup/google_16k/textured.obj --nb_objects 5 --distractors_folder ~/data/google_scanned_models/ --nb_distractors 10 --backgrounds_folder ../dome_hdri_haven/
```

All parameters can be shown by running
```
python ./run_blenderproc_datagen.py --help
```
Note that, as a blenderproc script, `generate_training_data.py` cannot be invoked with Python. It must be run via the `blenderproc` launch script.
Note that, as a blenderproc script, `generate_training_data.py` cannot be invoked with Python. It must be run via the `blenderproc` launch script.
Loading

0 comments on commit 378831e

Please sign in to comment.