photoshape icon indicating copy to clipboard operation
photoshape copied to clipboard

some questions about config.py

Open YWCHEN-ZERO opened this issue 4 years ago • 10 comments

YWCHEN-ZERO avatar Apr 08 '20 08:04 YWCHEN-ZERO

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 avatar Apr 08 '20 08:04 YWCHEN-ZERO

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.

YWCHEN-ZERO avatar Apr 08 '20 10:04 YWCHEN-ZERO

  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.
  2. Python 3.7 should work. You don't need to install the specific version of opencv. Just install the recent version.

keunhong avatar Apr 08 '20 17:04 keunhong

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.

YWCHEN-ZERO avatar Apr 10 '20 08:04 YWCHEN-ZERO

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.

keunhong avatar Apr 11 '20 05:04 keunhong

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?

YWCHEN-ZERO avatar Apr 15 '20 07:04 YWCHEN-ZERO

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

keunhong avatar Apr 15 '20 17:04 keunhong

Hello, I have emailed to [email protected] and [email protected]. Are they right email addresses?

YWCHEN-ZERO avatar Apr 17 '20 00:04 YWCHEN-ZERO

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

keunhong avatar Apr 17 '20 00:04 keunhong

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.

YWCHEN-ZERO avatar Apr 17 '20 12:04 YWCHEN-ZERO