mrlibw / ManiGAN

Pytorch implementation for ManiGAN: Text-Guided Image Manipulation.
143 stars 23 forks source link

It is too slow to load the inception-V3 models. #5

Open qikizh opened 4 years ago

qikizh commented 4 years ago

I had loaded the inception-V3 model in python2.7 and it is very quick.

But I find the loading process is very slow in this model by using python 3.7. Do you have same issue?

yhlleo commented 4 years ago

It seems that the code downloads Inception-V3 model every time. You can download it in advance. @qikiz

However, it doesn't help. It's still slow.

yhlleo commented 4 years ago

I find a solution that works for me. You can read more on the page.

Update the scipy:

pip install --upgrade scipy==1.3.3
qikizh commented 4 years ago

I find a solution that works for me. You can read more on the page.

Update the scipy:

pip install --upgrade scipy==1.3.3

Thanks for your solution and I would try your suggestion.

Previously, I just create the new inception.py and copy the same class in local project, which would be work. Besides, I also find there is no same issue in python2.