-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New blenderproc synthetic data generation scripts
- Loading branch information
Showing
3 changed files
with
642 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Blenderproc is made to create a single scene and render many frames. Adding/removing objects (such as varying the number of distractors) will cause memory bloat and poor performance. Instead, we use a batching script (`run_blenderproc_datagen.py`) to run blenderproc several times. | ||
|
||
|
||
## Usage example: | ||
|
||
Run the blenderproc script 50 times, each time generating 1000 frames: | ||
``` | ||
./run_blenderproc_datagen.py --nb_runs 5 --objs_folder ../models/ --nb_objects 5 --distractors_folder ../google_scanned_models/ --nb_distractors 10 --backgrounds_folder ~/data/ImageNet2012/val --nb_frames 10 --outf ~/data/DOPE/mine/Ketchup_Nov17/ | ||
``` | ||
|
||
All parameters can be shown by running `python ./run_blenderproc_datagen.py --help` | ||
|
||
|
Oops, something went wrong.