vinthony / ghost-free-shadow-removal

[AAAI 2020] Towards Ghost-free Shadow Removal via Dual Hierarchical Aggregation Network and Shadow Matting GAN
https://arxiv.org/abs/1911.08718
297 stars 59 forks source link

ValueError: Cannot feed value of shape (1, 480, 640) for Tensor 'Placeholder:0', which has shape '(?, ?, ?, 3)' #28

Closed landkwon94 closed 3 years ago

landkwon94 commented 3 years ago

Hello~ before I talk about my Issue, I want to say Thank you for providing beautiful code.

As I tried to start studying your code from " shadow_removal.ipynb ", such an error occured.

image

This is starting point of your code, so I thought that I missed something. But I could not fix this problem... Can you help me? (I tried to open this code by Colab.)

Or are there any changes in your code compared to the model which was released in the past?

vinthony commented 3 years ago

Hi, Thanks for pointing that out.

It happens because I have added some binary mask images to the sample folder for the shadow synthesis demo.

It has been fixed.

landkwon94 commented 3 years ago

Thank you so much :)