PrincetonVision / marvin

Marvin: A Minimalist GPU-only N-Dimensional ConvNets Framework
MIT License
422 stars 137 forks source link

script for prepare_data in 3dshapenets example #39

Open lidong04 opened 8 years ago

lidong04 commented 8 years ago

Hi @fyu , can you please share the script that converting the ModelNet dataset (e.g. ModelNet40) to the tensor file like modelnet40_r_12_v_30_train_images.tensor? Thanks a lot.

fyu commented 8 years ago

Hi @lidong04, you can use the code in https://github.com/fyu/util3d to convert the models in ModelNet to voxels and use the matlab/python io utilities in marvin to convert the voxels to tensor files.