Skip to content

Instantly share code, notes, and snippets.

@nanlliu
Created February 19, 2021 03:44
Show Gist options
  • Save nanlliu/ccaa9beacfbb627b2da15790c0275fa6 to your computer and use it in GitHub Desktop.
Save nanlliu/ccaa9beacfbb627b2da15790c0275fa6 to your computer and use it in GitHub Desktop.
clevr_data_generation.ipynb
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Torment123
Copy link

Hi, thanks for providing the convenient colab code. I tried to run your code to render Clevr images, however after following the steps and to the point where I ran this chunk:

!sudo ./$blender_version/blender
--background --python render_images.py -- --num_images=9 --width=128 --height=128
--render_num_samples=64 --min_objects=1 --max_objects=5 --min_pixels_per_object=100
--output_image_dir= a
output_scene_dir
--output_scene_file= b
output_blend_dir
--min_dist=1 --margin=1 --use_gpu=1 &> /dev/null

it actually didn't render any images at all, but it didn't prompt me any error messages either, could you assist me with this issue? Thanks.

@Mihirsahu2307
Copy link

As pointed out, this code doesn't work anymore. Here is my updated version of the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment