WeiTang114 / MVCNN-TensorFlow

An Multi-View CNN (MVCNN) implementation with TensorFlow.
MIT License
120 stars 67 forks source link

How to prepare the dataset? #17

Closed Metal-joker closed 6 years ago

Metal-joker commented 6 years ago

Hi, there

I have a little problem when I try to run this project.

How can I transfer my OFF file to this project needed file format?

thanks for any help

WeiTang114 commented 6 years ago

I'd recommend writing a Blender script in Python to do this. If you're familiar with OpenGL in C/C++, it is possible (and faster) too. Blender is easier.

Metal-joker commented 6 years ago

Thanks for your reply.

I tried Blender but still can't make my dataset like that.

Could you please share that part of code?

thanks again

WeiTang114 commented 6 years ago

@Metal-joker I just uploaded it to github: https://github.com/WeiTang114/BlenderPhong/ Try it out! 😜

Metal-joker commented 6 years ago

thanks a lot!

hy-Jeff commented 6 years ago

hello, I want to convert the background of the picture to black(new pixel = 255-origin pixel) . However, there still exits some differences from yours. Could you show me some methods to deal with it? Thank you very much! airplane_0001 0 airplane_0001 0

WeiTang114 commented 6 years ago

@heyuCute, for training and testing the model, the performance should be fine with your data. If you really need the data like mine, please try BlenderPhong. Although mine are generated with C++/OpenGL, those generated with BlenderPhong should look similar.

WeiTang114 commented 6 years ago

I'm closing this issue as it seems to be solved. Feel free to reopen it if you met the issue again.