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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 24th October 2023, 08:15   #81  |  Link
anton_foy
Registered User
 
Join Date: Dec 2005
Location: Sweden
Posts: 703
Thanks I tried both of your suggestions but it is impossibly slow and I tried Vapoursynth vs-scunet on the same clip and 30 frames would take over 1 hour. So I guess this processing UHD with these models is out of the question for now.
anton_foy is offline   Reply With Quote
Old 24th October 2023, 08:58   #82  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,156
Waiting for cuda ver
https://github.com/Asd-g/avs-mlrt/is...ent-1771187328
kedautinh12 is offline   Reply With Quote
Old 25th October 2023, 08:56   #83  |  Link
anton_foy
Registered User
 
Join Date: Dec 2005
Location: Sweden
Posts: 703
@kedautinh12
Thanks for the info good news.
Something I am wondering about is the num_streams param. Where to find the specification about this for my GPU? May this speed up if I put this to max for my card?
anton_foy is offline   Reply With Quote
Old 25th October 2023, 18:51   #84  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
The number of stream depends on the resolution of your input and the VRAM that is used with model X and 1 stream.
If you use a model with one stream and only a fraction of your VRAM is used, you can run multiple streams in parallel to speed things up.
=> increasing the streams will cost VRAM, but can speed things up
So if either the input resolution or the used model changes, the VRAM usage and thus the amount of streams your card can handle can change.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 26th October 2023, 07:46   #85  |  Link
anton_foy
Registered User
 
Join Date: Dec 2005
Location: Sweden
Posts: 703
Quote:
Originally Posted by Selur View Post
The number of stream depends on the resolution of your input and the VRAM that is used with model X and 1 stream.
If you use a model with one stream and only a fraction of your VRAM is used, you can run multiple streams in parallel to speed things up.
=> increasing the streams will cost VRAM, but can speed things up
So if either the input resolution or the used model changes, the VRAM usage and thus the amount of streams your card can handle can change.
Thanks I will play around with this.
anton_foy is offline   Reply With Quote
Old 22nd November 2023, 01:49   #86  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,156
Would like to see SwinIR models:
https://github.com/JingyunLiang/SwinIR/releases
https://openmodeldb.info/?q=SwinIR

Last edited by kedautinh12; 22nd November 2023 at 02:27.
kedautinh12 is offline   Reply With Quote
Old 22nd November 2023, 02:43   #87  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,361
Yes, me too. I tried in vapoursynth and SwinIR didn't work for me there either. Looking for a solid photo upscaler.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread
Dogway is offline   Reply With Quote
Old 22nd November 2023, 03:08   #88  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,156
For Vapoursynth, why you don't ask HolyWu?
https://github.com/HolyWu/vs-swinir/...pen+is%3Aissue
kedautinh12 is offline   Reply With Quote
Old 22nd November 2023, 05:42   #89  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
https://github.com/HolyWu/vs-swinir works fine here,...
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 22nd November 2023, 20:06   #90  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,361
Ok, I thought the SwinIR models in pth format were supposed to work. Thanks both.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread
Dogway is offline   Reply With Quote
Old 1st December 2023, 14:51   #91  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,156
Would like to see CodeFormer models
https://github.com/sczhou/CodeFormer/releases
kedautinh12 is offline   Reply With Quote
Old 2nd December 2023, 09:44   #92  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Assuming some folks here use those models on normal content, how do you deal with temporal inconsistencies?
(like this: https://forum.videohelp.com/attachme...73592/Face.mp4)
Personally, I use QTGMC with input type 3 to lessen this, but I was wondering what others do.

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 3rd December 2023, 03:16   #93  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,156
Would like to see UniScale models
https://openmodeldb.info/?q=Uniscale

Last edited by kedautinh12; 3rd December 2023 at 05:04.
kedautinh12 is offline   Reply With Quote
Old 3rd December 2023, 08:21   #94  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
You can convert those with chaiNNer (https://github.com/chaiNNer-org/chaiNNer),... (these are also included in the Hybrid onnx models collection)
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 20th December 2023, 04:27   #95  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,156
Would like to see SRFormer models
https://openmodeldb.info/?q=SRFormer
kedautinh12 is offline   Reply With Quote
Old 20th December 2023, 08:05   #96  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Quote:
Would like to see UniScale models
Those seem to work fine here with vs-mlrt. (they are rather slow)
Quote:
Would like to see SRFormer models
Best post such request over in the github issue tracker.

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 20th December 2023, 10:07   #97  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,156
I can see it in other model. They use srformer to base for trained on
https://github.com/Phhofm/models

Last edited by kedautinh12; 20th December 2023 at 13:00.
kedautinh12 is offline   Reply With Quote
Old 21st December 2023, 04:52   #98  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,156
Would like to see Cutie models
https://github.com/hkchengrex/Cutie?tab=readme-ov-file
kedautinh12 is offline   Reply With Quote
Old 19th February 2024, 10:38   #99  |  Link
takla
Registered User
 
Join Date: May 2018
Posts: 184
Actually it runs "ok" as long as you're not using any of the broken models from the dropbox link (I haven't tested them all, but 4 of 4 gave an error)
Should be fine if converted manually with "opset 17"

Last edited by takla; 27th February 2024 at 03:48.
takla is offline   Reply With Quote
Old 10th March 2024, 16:42   #100  |  Link
takla
Registered User
 
Join Date: May 2018
Posts: 184
Here are some models which I've converted to onnx (Mostly for Cartoons/Anime)
I can vouche for all of them working (tested on AMD GPU)
Original sources can be found here

2x_AniScale2S_Compact_i8_60K
Very good with BluRay sources

2x-LD-Anime-Compact
Amazing with high quality DVDs

2x_Garfieldjr_span48
Very Good for mediocre DVD quality

Example script:
Code:
LWLibavVideoSource("INPUT.mkv")
ConvertBits(32).ConvertToPlanarRGB()
mlrt_ort(network_path="C:\Program Files (x86)\AviSynth+\plugins64+\models2\2x-LD-Anime-Compact.onnx", builtin=false, provider="dml")
takla is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:12.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.