mirror of
https://github.com/upscayl/upscayl.git
synced 2024-11-27 17:00:52 +01:00
Updated Model Conversion Guide (markdown)
parent
1d34e22b97
commit
2b0bad39d8
@ -4,7 +4,7 @@ This guide explains how you can convert PyTorch models to NCNN models for Upscay
|
||||
> Only PyTorch models for ESRGAN are guaranteed to work. You can use a similar process for ONNX models (use onnxsim to simplify the model, install ONNX in dependencies and replace the orange blocks with their cyan equivalents), but it can often fail.
|
||||
|
||||
## Prerequisites
|
||||
- [chaiNNer](https://github.com/chaiNNer-org/chaiNNer)
|
||||
- [chaiNNer](https://github.com/chaiNNer-org/chaiNNer) 0.20.2 (v21 may not be compatible for now)
|
||||
- [This .chn file](https://gist.github.com/aaronliu0130/38b996f360dfee86d71130f129920f3a/raw/f06e711e03a4a239e6dc041fadf890a26fdd979a/pth2bin.chn). Right click the link, click "Save link as" and save it wherever you want.
|
||||
- A model in PyTorch (.pth) format. This guide is for converting PyTorch to NCNN (Upscayl's format) only.
|
||||
- You can get models from <https://openmodeldb.info/?t=arch%3Aesrgan>.
|
||||
|
Loading…
Reference in New Issue
Block a user