saba99 / superresolution_animation_video Goto Github PK
View Code? Open in Web Editor NEWSuper Resolution for Cartoon Video
License: Other
Super Resolution for Cartoon Video
License: Other
Hi, when I tried your repo, I faced a problem:
C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\torchvision\transforms\functional_tensor.py:5: UserWarning: The torchvision.transforms.functional_tensor module is deprecated in 0.15 and will be removed in 0.17. Please don't rely on it. You probably just need to use APIs in torchvision.transforms.functional or in torchvision.transforms.v2.functional.
warnings.warn(
Traceback (most recent call last):
File "C:\Users\xxx\Desktop\AnimeSR\scripts\inference_animesr_video.py", line 377, in
main()
File "C:\Users\xxx\Desktop\AnimeSR\scripts\inference_animesr_video.py", line 370, in main
run(args)
File "C:\Users\xxx\Desktop\AnimeSR\scripts\inference_animesr_video.py", line 293, in run
pool = ctx.Pool(num_process)
File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\multiprocessing\context.py", line 119, in Pool
return Pool(processes, initializer, initargs, maxtasksperchild,
File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\multiprocessing\pool.py", line 205, in init
raise ValueError("Number of processes must be at least 1")
ValueError: Number of processes must be at least 1
I used python scripts/inference_animesr_video.py -i inputs/a.mp4 -n AnimeSR_v2 -s 4 --expname animesr_v2 --num_process_per_gpu 3 --suffix 1gpu3process
this command.
Edit:
When I changed the num_gpus
value to 1, program started bu after a few seconds I face this error:
**C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\torchvision\transforms\functional_tensor.py:5: UserWarning: The torchvision.transforms.functional_tensor module is deprecated in 0.15 and will be removed in 0.17. Please don't rely on it. You probably just need to use APIs in torchvision.transforms.functional or in torchvision.transforms.v2.functional.
warnings.warn(
inference: 0%| | 0/2 [00:00<?, ?sub_video/s]C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\torchvision\transforms\functional_tensor.py:5: UserWarning: The torchvision.transforms.functional_tensor module is deprecated in 0.15 and will be removed in 0.17. Please don't rely on it. You probably just need to use APIs in torchvision.transforms.functional or in torchvision.transforms.v2.functional.
warnings.warn(
C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\torchvision\transforms\functional_tensor.py:5: UserWarning: The torchvision.transforms.functional_tensor module is deprecated in 0.15 and will be removed in 0.17. Please don't rely on it. You probably just need to use APIs in torchvision.transforms.functional or in torchvision.transforms.v2.functional.
warnings.warn(
ffmpeg -f concat -safe 0 -i results\animesr_v2\videos\a/vidlist.txt -c:v copy -af aresample=async=1000 results\animesr_v2\videos\a\a_1gpu2process.mp4 -y
Traceback (most recent call last):
File "C:\Users\xxx\Desktop\AnimeSR\scripts\inference_animesr_video.py", line 377, in
main()
File "C:\Users\xxx\Desktop\AnimeSR\scripts\inference_animesr_video.py", line 370, in main
run(args)
File "C:\Users\xxx\Desktop\AnimeSR\scripts\inference_animesr_video.py", line 326, in run
subprocess.call(cmd)
File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 345, in call
with Popen(*popenargs, kwargs) as p:
File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1440, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
inference: 0%| | 0/2 [00:03<?, ?sub_video/s]
I apply all instructions step by step and I have not face any problem in the instructions part. My laptop's specifications are AMD Ryzen 4800H, AMD Radeon 5500M, 16GB Ram. I think the problem which I faced because of Ryzen. Thanks for the answer ๐.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.