Open papayalove opened 1 year ago
from imagededup.methods import PHash
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
Cell In[77], line 1
----> 1 from imagededup.methods import PHash
ModuleNotFoundError: No module named 'imagededup.methods'
But if I use from imagededup.methods.hashing import PHash
, it works.
However, this fails again: from imagededup.methods.cnn import *
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
Cell In[81], line 1
----> 1 from imagededup.methods.cnn import *
ModuleNotFoundError: No module named 'imagededup.methods'
Could you please share more info?
Also please try to stick to import formats as defined in the documentation.
Could you please share more info?
- imagededup version
- OS
- conda/pip version
Also please try to stick to import formats as defined in the documentation.
I tried every import formats.
Linux SH-IDC1-10-140-0-104 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux imagededup 0.3.2 pip 22.0.4
Also, how to solve this problem? It just went timeout after a few minutes. I don't want to download this.
Downloading: "https://download.pytorch.org/models/mobilenet_v3_small-047dcff4.pth" to /home/dataproc/.cache/torch/hub/checkpoints/mobilenet_v3_small-047dcff4.pth
I can import PHash by using
from imagededup.methods.hashing import PHash
. But I cannot import cnn and evaluation