Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
25th April 2022, 18:08 | #101 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,259
|
a. That guide, won't work with current vsrealesrgan.
b. Assuming you use Vapoursynth R57 and not the new Vapoursynth R58 the steps I posted over at https://forum.doom9.org/showthread.php?t=184000 should work. Using VapourSynth R58 would require to use Python 3.8 (not 3.9 or 3.10) since R58 only supports 3.8 and 3.10, but onnxruntime does not support 3.10 atm. Cu Selur |
25th April 2022, 19:54 | #103 | Link |
Registered User
Join Date: Oct 2018
Posts: 7
|
And also, using the latest vsrealesrgan with onnx, R58 and pyton 3.8, I got 90-100% GPU usage with same fps as i got with the older vsrealesrgan 1.2.0 at 10% GPU which I did get to work with R57 and python 3.9.
Very confusing. CPU might av been a bit higher without ONNX, but that different is weird, when getting same FPS, no? Last edited by knumag; 25th April 2022 at 20:01. |
25th April 2022, 19:58 | #104 | Link | |
Registered User
Join Date: Oct 2018
Posts: 7
|
Quote:
Been at this now for 10-15 hours.. |
|
7th December 2022, 09:20 | #106 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,259
|
@lansing: going for 4k from 1080p with an 2x_-model with 16bit indicates a VRAM usage of 6.3GB on my card (Geforce rtx 4080), so you might be out of luck. You could try setting an overlap value, maybe that triggers the tiling support of VSGAN and help with the ram shortage.
|
7th December 2022, 09:53 | #108 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,259
|
Not any more. (new card + new power supply + new ups)
After 5 years my old 1070 simply was having more and more issues, since NVIDIA messed up the driver support more and more. (Accessing my 5k display which needs dual display port import wasn't possible with any drivers newer than the drivers from May.) |
7th December 2022, 11:14 | #109 | Link | |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
Quote:
|
|
7th December 2022, 18:21 | #111 | Link | |
Registered User
Join Date: Dec 2020
Posts: 84
|
Quote:
|
|
8th December 2022, 06:49 | #112 | Link | |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
Quote:
The models I'm interested in are the 2x_LD-Anime_Skr_v1.0 and some anime sharpen AI for old anime. It's turning my anime dvd into blu-ray. original 2x_LD-Anime_Skr_v1.0 color matched to cel I tried to run another 2x sharpen upscale to the result but ran out of memory. |
|
8th December 2022, 10:05 | #113 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Some test I made, One Piece DVD:
https://cdn.discordapp.com/attachmen...454592/op1.png <-- (stronger filtering) https://cdn.discordapp.com/attachmen...04/unknown.png https://cdn.discordapp.com/attachmen...28/unknown.png https://cdn.discordapp.com/attachmen...38/unknown.png One problem that I often see with these models is that there is often a color shift. It is not very fast, but awesome quality (if the source video "matches")
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database Last edited by ChaosKing; 8th December 2022 at 10:10. |
8th December 2022, 23:47 | #116 | Link | ||
Registered User
Join Date: Sep 2006
Posts: 1,657
|
Quote:
UPDATE: I got reply from the author. I don't know how to interpret it, so I direct quoted him: Quote:
Last edited by lansing; 9th December 2022 at 05:34. Reason: update |
||
9th December 2022, 00:16 | #117 | Link | |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
Quote:
https://vsgan.phoeniix.dev/en/stable/installation.html Total file size would be a few GB. And then go here to look for a model, there are model for different situations. What we use here is 2x_LD-Anime_Skr_v1.0: https://upscale.wiki/wiki/Model_Database#Anime Code:
import vapoursynth as vs from vsgan import ESRGAN core = vs.core # your dvd source clip = core.ffms.Source() # convert to RGB clip = core.resize.Bicubic(clip=clip, format=vs.RGB24, matrix_in_s="470bg", range_s="limited") # instantiate esrgan and load the model esrgan = ESRGAN(clip, "cuda") model = r'my_path\2x_LD-Anime_Skr_v1.0.pth' esrgan.load(model) esrgan.apply() clip = esrgan.clip # get output clip_set_output() |
|
9th December 2022, 09:52 | #118 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
I don't remember which models I used, I simply tried out different models (and combined some).
You can start with one of these: 2x_AnimeClassics_UltraLite_510K, 2x_LD-Anime_Skr_v1.0, 2x_SHARP_ANIME_V1, 2x_DigitalFlim_SubCompact_nf24-nc8_289k_net_g I also used the example script from the docs. Nothing special, just patience, oh and save your script from time to time, because your editor will crash! LD = Laserdisc? My source is a jap. R2 DVD.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database Last edited by ChaosKing; 9th December 2022 at 09:59. |
9th December 2022, 11:55 | #119 | Link |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
After going through many models, for upscaling old anime, I think the models with the best quality are the one that were trained using the actual blu-ray, such as 2x_LD-Anime_Skr_v1.0. There's a guy in the sailormoon forum that trained his model using blu-ray from the sailor moon movies is also getting amazing result.
|
9th December 2022, 12:08 | #120 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
I really need to learn how to train models myself. Imagine if you had like 200 CELs to train on.
I read that you need at least 100 different frames to get decent results.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
Tags |
esrgan, gan, upscale, vapoursynth |
Thread Tools | Search this Thread |
Display Modes | |
|
|