keunhong / photoshape

111 stars 16 forks source link

some questions about config.py #7

Open YWCHEN-ZERO opened 4 years ago

YWCHEN-ZERO commented 4 years ago

hello! Thanks for your nice shapenet chairs dataset! And I want to use your pipeline to create other types of objects in shapenet. When I want to modify config.py, I don't know which parameters should I modify. Could you help me? Thanks a lot!

YWCHEN-ZERO commented 4 years ago

And which python version do you use? Because when I pip install opencv_python=3.4.0.12,I found that opencv_python=3.4.0.12 is not supported in python 3.7.1.

keunhong commented 4 years ago
  1. You need to modify the paths to point to the actual location of the data on your computer.
    • Set SHAPENET_DIR to where you put ShapeNet
    • Set BLOB_ROOT to where you downloaded the blobs mentioned in the README.
      1. Python 3.7 should work. You don't need to install the specific version of opencv. Just install the recent version.
YWCHEN-ZERO commented 4 years ago

Thanks you for your reply. Now I have solve the problems above with your help. One more problem is that the materials from Adobe Stock and Polligon are not free, which are too expensive for a student. Could you send me a the materials from the two website in photoshape? I promise that I will ONLY use them for study, will NOT for commerce. Thanks a lot.

keunhong commented 4 years ago

Hi, unfortunately I don't own the right to re-distribute those. Please email me and I can send you the ones that I can.

YWCHEN-ZERO commented 4 years ago

Thanks,that may also help a lot. Could you send me the meterial you own? If I use the different materials from yours, should I modify the code or retrain the network? Or I just unzip the meterials in the right directory?

One more question is: I notice that the chair datasets you released in Google Drive contain blend files and examplars, but I don't know how to generate the blend files and don't get messages about this in github. So how to generate it?

keunhong commented 4 years ago

Hi, please email me so I can send the materials to you privately.

For generating the blend files you can start taking a look here: https://github.com/keunhong/photoshape/blob/master/src/terial/classifier/rendering/create_inferred_blend_files.py

YWCHEN-ZERO commented 4 years ago

Hello, I have emailed to photoshape@noreply.github.com and notifications@github.com. Are they right email addresses?

keunhong commented 4 years ago

You can find the materials here: https://homes.cs.washington.edu/~kpar/photoshape/blobs/materials.tar.gz

YWCHEN-ZERO commented 4 years ago

Hello, keunhong! When I use this file: https://github.com/keunhong/photoshape/blob/master/src/terial/classifier/rendering/create_inferred_blend_files.py to create a inferred blend file, I meet a error like this: FileNotFoundError: /data/lab-chen.yongwei/photoshape/data/materials-500x500/adobe-stock/metal/AdobeStock_176327040/aluminium_scratched.mdl It seems that it can't find the material.

How can I infer the material of shapes just including materials from aittala-beckmann and vray-materials-de. I really appreciate your help.