CodeFormer icon indicating copy to clipboard operation
CodeFormer copied to clipboard

Video: ModuleNotFoundError: No module named 'lpips'

Open sashaok123 opened this issue 2 years ago • 3 comments
trafficstars

D:\AI\CodeFormer>python inference_codeformer.py --bg_upsampler realesrgan --face_upsample -w 1.0 --input_path "D:\AI\CodeFormer\inputs\RusRul.mp4" Traceback (most recent call last): File "D:\AI\CodeFormer\inference_codeformer.py", line 7, in from basicsr.utils import imwrite, img2tensor, tensor2img File "D:\AI\CodeFormer\basicsr_init_.py", line 5, in from .losses import * File "D:\AI\CodeFormer\basicsr\losses_init_.py", line 5, in from .losses import (CharbonnierLoss, GANLoss, L1Loss, MSELoss, PerceptualLoss, WeightedTVLoss, g_path_regularize, File "D:\AI\CodeFormer\basicsr\losses\losses.py", line 2, in import lpips ModuleNotFoundError: No module named 'lpips'

image

sashaok123 avatar Mar 10 '23 04:03 sashaok123

Facing same issue

vivek-kumar-poddar avatar Apr 22 '23 14:04 vivek-kumar-poddar

I am facing the same issue, no solution yet?

Rayan-Alhindi avatar May 02 '23 09:05 Rayan-Alhindi

Try pip install lpips. This works for me.

luccachiang avatar Nov 14 '23 07:11 luccachiang