richzhang / PerceptualSimilarity

LPIPS metric. pip install lpips
https://richzhang.github.io/PerceptualSimilarity
BSD 2-Clause "Simplified" License
3.71k stars 500 forks source link

Collab #89

Open kilik128 opened 2 years ago

kilik128 commented 2 years ago

Hey i'am noob you know if it's possible to create collab somewhere i got this message

!python compute_dists_dirs.py -d0 imgs/ex_dir0 -d1 imgs/ex_dir1 -o imgs/example_dists.txt --use_gpu

Traceback (most recent call last): File "/content/PerceptualSimilarity/compute_dists.py", line 2, in import models File "/content/PerceptualSimilarity/models/init.py", line 7, in from skimage.measure import compare_ssim ImportError: cannot import name 'compare_ssim' from 'skimage.measure' (/usr/local/lib/python3.7/dist-packages/skimage/measure/init.py)

tanks