ethnhe / raster_triangle

A simple renderer with z-buffer for synthesis data generating.
56 stars 21 forks source link

Typo in your code & Download link for SUN2012 invalid #7

Closed CandiceD17 closed 3 years ago

CandiceD17 commented 3 years ago

Hii there When I run your script rgbd_renderer.py, I received an error saying:

File "rgbd_renderer.py", line 173, in gen_pack_zbuf_render bg_pth = args.bg_img_pth_lst[randint(0, len_bg_lst-1)] AttributeError: 'Namespace' object has no attribute 'bg_img_pth_lst'

I think the args.bg_img_pth_lst should be self.bg_img_pth_lst.

For the download link, I tried: https://github.com/ShapeNet/RenderForCNN/blob/master/datasets/get_sun2012pascalformat.sh and it works for me.

Overall, I really appreciate your work and thank you for all of it!!

ethnhe commented 3 years ago

Thanks for the suggestion.