gfxdisp / mdf

Multi-scale discriminator feature-wise loss function
BSD 3-Clause "New" or "Revised" License
102 stars 8 forks source link

Loading SinGAN #5

Closed korenleven closed 2 years ago

korenleven commented 2 years ago

Hey, I'm trying to load the SISR weights after cloning the project and I got the following error:

ModuleNotFoundError: No module named 'SinGAN'

May the .pth files are courrupted?

Thanks

korenleven commented 2 years ago

?

aamir-mustafa commented 2 years ago

Hi,

we have provided the module SinGAN in the repository. You should be able to load it.

Best Aamir

korenleven commented 2 years ago

Here the directories as cloned image

But still, the weights curropted image

korenleven commented 2 years ago

UP

aamir-mustafa commented 2 years ago

I have checked all the three checkpoints in the repository. All of them are working fine. Could you verify that you have successfully installed all the pip packages in the requirements.txt?

Thanks

korenleven commented 2 years ago

Solved. The problem was that the weights .pth file does not allow to load the file from a different dir.

shshojaei commented 11 months ago

Solved. The problem was that the weights .pth file does not allow to load the file from a different dir.

Hi, Can you explain more how you solve this problem?