-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESRGAN Anime_B6 #29
Comments
What's the problem? |
Its not the fault of this project, it is most likely my code for transforming .pth to .onnx. |
The error Code: [03/08/2023-14:44:46] [E] Error[4]: [network.cpp::nvinfer1::Network::validate::3076] Error Code 4: Internal Error (input: for dimension number 2 in profile 0 does not match network definition (got min=480, opt=480, max=480), expected min=opt=max=512).) |
set torch.onnx.export(..., dynamic_axes=dict(input={0: "batch", 2: "height", 3: "width"})) |
Thanks, but now my 3070 GPU is running out of RAM i have 8 GB and i need 9 :( |
you may try HolyWu's vs-realesrgan (no guarantee to be able to work with mlrt) https://github.com/HolyWu/vs-realesrgan/releases/tag/model |
You can get an onnx from here, I can confirm it works with mlrt: https://github.com/styler00dollar/VSGAN-tensorrt-docker/releases/tag/models |
Thanks both of you! Working now as it should. <3 |
Hello guys,
i would love to ask if you could provide the ESRGAN Anime_B6 model as optimized .onnx Model like you have with the animvideov3 as example.
I had problems converting it to .onnx, hope you could help.
As always thanks for the work and keep it up!
The text was updated successfully, but these errors were encountered: