This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] VSGAN model use
#1
Question 
Hello!

I would like to use this model in Hybrid:
https://drive.google.com/drive/folders/1...YI6hWU5hVt

But when I load it, I get an error:

Failed to evaluate the script:
Python exception: max expected at least 1 argument, got 0

Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 3115, in vapoursynth._vpy_evaluate
File "src\cython\vapoursynth.pyx", line 3116, in vapoursynth._vpy_evaluate
File "C:\Users\DSIOMNAINC\AppData\Local\Temp\tempPreviewVapoursynthFile06_12_56_617.vpy", line 44, in
vsgan.load(model)
File "C:\Program Files\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsgan\networks\esrgan.py", line 46, in load
model = arch(state)
^^^^^^^^^^^
File "C:\Program Files\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsgan\archs\ESRGAN.py", line 72, in __init__
self.num_blocks = self.get_num_blocks()
^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsgan\archs\ESRGAN.py", line 228, in get_num_blocks
return max(*nbs) + 1
^^^^^^^^^
TypeError: max expected at least 1 argument, got 0

I have to use this model in ChaiNNeR, but it’s more convenient for me to use Hybrid. 
Is it possible to use this model in Hybrid and if so, what needs to be done for this? 
Thanks in advance and sorry if a similar question has already been asked.
Reply
#2
Quote:2x omnisr version of the 2xHFA2kCompact model.
Since VSGAN does not support OMNISR models so to support this file you could ask the vsgan author to support OmniSR models.
If there isn't a Vapoursynth plugins which allows to use the models Hybrid can't use them.

That said, since compact models are supported I tried the model from https://openmodeldb.info/models/2x-HFA2kCompact and it does work fine here.

Cu Selur
--- mainly offline 20.-26 of May ---
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)