csxmli2016 / DFDNet

Blind Face Restoration via Deep Multi-scale Component Dictionaries (ECCV 2020)
915 stars 215 forks source link

somebody can help me #73

Closed alimalls closed 3 years ago

alimalls commented 3 years ago

i try to run the test_facedict.py ,How to fix the following errors.

F:\DFDNet-whole>python test_FaceDict.py --test_path ./TestData/TestWhole --resu ts_dir ./Results/TestWholeResults --upscale_factor 4 --gpu_ids 0 Traceback (most recent call last): File "test_FaceDict.py", line 2, in from options.test_options import TestOptions File "F:\DFDNet-whole\options\test_options.py", line 1, in from .base_options import BaseOptions File "F:\DFDNet-whole\options\base_options.py", line 3, in from util import util File "F:\DFDNet-whole\util\util.py", line 7, in import torchvision ModuleNotFoundError: No module named 'torchvision'

gabgren commented 2 years ago

Fore future reference:

The important line is >ModuleNotFoundError: No module named 'torchvision'

torchvision is not installed. do:

pip install torchvision