-
Notifications
You must be signed in to change notification settings - Fork 550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
报错 #52
Comments
感谢提醒,是我在更新20220227版本的时候,忘记添加alpha参数了。 |
upcunet_v3.py完全没有用config.py内的配置,默认把input_dir文件夹内所有图片的所有方案输出一遍。 ailab/Real-CUGAN/upcunet_v3.py Line 1249 in 5ea6ca1
ailab/Real-CUGAN/upcunet_v3.py Line 1251 in 5ea6ca1
ailab/Real-CUGAN/upcunet_v3.py Line 1259 in 5ea6ca1
input_dir(input1080P)、 output_dir(opt-dir-all-test)、 tmp_path(tmp)均未给出文件夹,代码中只创建了output_dir文件夹 ailab/Real-CUGAN/upcunet_v3.py Line 1241 in 5ea6ca1
这里的模型文件夹名称用的是updated_weights,项目内的文件夹和config.py内用的都是weights_v3。 报错:FileNotFoundError: [Errno 2] No such file or directory: 'updated_weights/up2x-latest-denoise3x.pth' ailab/Real-CUGAN/inference_video.py Line 38 in 5ea6ca1
参数传递重复(最后两个) |
upcunet_v3.py的main里面是我写本地测试的代码,要尽量覆盖多个参数,不是直接给用户直接用的。这个文件是给开发者调upscaler类用的,调法参考下面。win版本打包里面,直接不会有main这些。 inference_video.py参数传递重复错误已修复。 |
ailab/Real-CUGAN/inference_video.py
Line 115 in 2ccc9cd
video_upscaler=VideoRealWaifuUpScaler(nt,n_gpu,scale,half,tile,p_sleep,decode_sleep,encode_params,cache_mode,alpha)
def init(self,nt,n_gpu,scale,half,tile,cache_mode,p_sleep,decode_sleep,encode_params):
位置参数传递位置错误 引发报错
The text was updated successfully, but these errors were encountered: