asafkar / deep_shadow

Code for DeepShadow paper
Apache License 2.0
12 stars 3 forks source link

Can't find silhouette, GT depth map (in exr format) and Surface Normal map! #1

Closed geokarant closed 1 year ago

geokarant commented 1 year ago

Dear Asaf,

Congrats for your excellent work! I want to reproduce the results, but i get the following error:

self.normal_gt = (cv2.cvtColor(cv2.imread(normal_gt_path), cv2.COLOR_BGR2RGB).astype(np.float32) / 255.0) * 2 - 1

cv2.error: OpenCV(4.6.0) /io/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'

I think it is because it cant find the " *_normal.png". I also think the silhouette, and the depth maps are missing. Or I am missing something which is so obvious. I appreciate if you can check that files.

Regards!

asafkar commented 1 year ago

Hi, There was an issue with the uploaded data. I've uploaded it to the repo itself and fixed the readme.

Please pull the repo to get the files and try again.

Let me know if you encounter any more issues.

Thanks

geokarant commented 1 year ago

all files are now there! i am running the code at the moment! thanks a lot!