Open amiltonwong opened 9 years ago
Hi Milton,
Thanks for your interest in our work. The source code is available in 'code' folder. The render.ms is the file for the rendering part. All the rendered images (with annotation) are in these two folders: 'virtual' and 'virtual_gray'. The 3D models is in the '3d_models' folder. Basically, here are the brief steps:
To generate more realistic images (as in the 'What Do Deep CNNs Learn About Object' paper), you may need to specify different background and texture for different category/3d model. Then you need to change the 'images_bg' and 'images_texture' in the render.ms file to point to different background and textures for different category/3d model.
For now, we did not implemented the full photorealistic rendering since it is more complicated (e.g. might need to use ray-tracking algorithms to do that) and takes far more time (e.g. hours) to render one image. However, as showed in the 'From-Virtual-to-Reality' paper, simple domain adaptation techniques can get same performance as training classifiers with real images (e.g. images from ImageNet).
I hope this helps, feel free to reply to this post or send me separate email (at bsun@cs.uml.edu) if you still need more help/explanation.
Regards, Baochen
Baochen, thank you so much. I'll try it.
Milton
Hi, Baochen, I had git cloned your repos (3D models , code, virtual,..etc) I use Autodesk 3ds MAX 2015 (student version) to run render.ms, but after following the steps from "http://goo.gl/FlfCZt", nothing happens. Did I miss some steps?
Hi Milton,
Please change all these paths in render.ms to your local setting accordingly: images_bg = getFiles "C:\Users\baochens\Desktop\photorealistic\imageall\" images_texture = getFiles "C:\Users\baochens\Desktop\photorealistic\imageall\" file_path = "C:\Users\baochens\Desktop\photorealistic\3d_models_all\"+category+"*.max" file_name = ...
What's more, there should be some output while running the maxscript indicating what's going on (e.g., 'OK', 'error...').
Regards, Baochen
Dear baochens,
I'm interested in your work (Generating dataset from CAD model) Would you list the brief steps for performing the task (Generating dataset from CAD model) using your code?
Thanks in advance!
Milton