Practical-RIFE icon indicating copy to clipboard operation
Practical-RIFE copied to clipboard

inference_video_enhance.py ends with error: "NameError: name 'Model' is not defined"

Open marchcat69 opened this issue 7 months ago • 2 comments

I'm trying to encance the video using script "python3 inference_video_enhance.py --video=input.mp4", as described in the example, and I get the error: "NameError: name 'Model' is not defined". I downloaded the SAFA model from Google drive and placed it in folder "train_log_SAFA". "python3 inference_video_enhance.py --video=input.mp4 --model train_log_SAFA" gives the same error. What am I doing wrong?

Console logs: Please download our model from model list Traceback (most recent call last): File "/root/1data/apps/local/Practical-RIFE/inference_video_enhance.py", line 83, in model = Model() ^^^^^ NameError: name 'Model' is not defined

marchcat69 avatar Jul 26 '24 07:07 marchcat69