Comments (3)
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):
位置参数传递位置错误 引发报错
感谢提醒,是我在更新20220227版本的时候,忘记添加alpha参数了。
现在已修复,大佬您再跑跑试试看?
from ailab.
upcunet_v3.py完全没有用config.py内的配置,默认把input_dir文件夹内所有图片的所有方案输出一遍。
而循环过程中tile_mode 从0开始,一但原图过大且显存不足会引发报错。
中途报错tmp临时文件不会删除(没啥影响)
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
参数传递重复(最后两个)
from ailab.
upcunet_v3.py完全没有用config.py内的配置,默认把input_dir文件夹内所有图片的所有方案输出一遍。 而循环过程中tile_mode 从0开始,一但原图过大且显存不足会引发报错。 中途报错tmp临时文件不会删除(没啥影响)
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参数传递重复错误已修复。
from ailab.
Related Issues (20)
- Alpha值在哪里修改?还有就是新版pro模型是5月更新的,githubrelase只有2月的版本。提前谢谢解答 HOT 1
- 是否可以依据这些功能,做一个模糊视频2高清播放器?
- 超分视频时,使用moviepy导出音频会有音质损失 HOT 1
- 什么时候更新啊 HOT 2
- linux下面运行出现了错误,windows却可以运行虽然会有点bug
- 该升级版本了 it's time to upgrade torch and cuda
- 问一下本地怎么跑出网页demo里的效果。 HOT 1
- 关于视频超分的加快想法 HOT 2
- 无法使用CPU进行超分 HOT 1
- guide to use vs-mlrt cuda with Real-CUGAN Pro HOT 1
- 请问oom在哪修改 max_split_size_mb 的值?
- PermissionError: [WinError 5] 拒绝访问。已经给了管理员权限,为什么出现该问题?
- 制作了集合torch2.0等更新版内容的绿化包,有没有开发者来联系一下 HOT 2
- 请问大佬,linux下使用方法
- 致B站CEO陈睿的一封公开信 HOT 1
- 建议添加使用GPU做视频编解码
- tensorflow实现 HOT 1
- Colab载入模型报告网络参数块形状错误
- 异常闪退应该如何排查
- Alpha 参数的处理也许有误
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ailab.