Djdefrag / QualityScaler

QualityScaler - image/video AI upscaler app
MIT License
1.93k stars 139 forks source link

Adding our own AI upscale models #84

Closed jhitz0z closed 5 days ago

jhitz0z commented 1 month ago

Is there a way we add and run our own AI .pth models, instead of the current preset models running on this application and the other applications? I'm currently using the windows version of the applications but there is no source file directory .

Djdefrag commented 1 month ago

Hi my friend,

Actually the project does not use .pth files anymore; .pth files have been converted to .onnx files to use onnxruntime.

Of course you can add all AI that you want, if you have .pth files (pytorch models) you have to:

jhitz0z commented 1 week ago

Hello,

And how can I modify the code to add the AI to the AI list?

Djdefrag commented 5 days ago

@jhitz0z

Hi my friend.

After converting your AI model to the onnx format will suffice: