Skip to main content

core library for Final2x

Project description

Final2x-core

MacOS x64 MacOS arm64 Windows x64 Windows arm64 Linux x64 Linux arm64 codecov CI-test pip-test Release PyPI version GitHub

Final2x-core is a cross-platform image super-resolution CLI tool for Final2x. If you have any questions, please raise an issue in this repository.

Install

Download in Release or use pip to install (Linux User).

Make sure you have Python >= 3.9 and PyTorch >= 1.13 installed

pip install Final2x-core

cli

usage: Final2x-core [-h] [-b BASE64] [-j JSON] [-y YAML] [-l] [-n]

when para is not specified, the config.yaml file in the directory will be read automatically

options:
  -h, --help            show this help message and exit
  -b BASE64, --BASE64 BASE64
                        base64 string for config json
  -j JSON, --JSON JSON  JSON string for config
  -y YAML, --YAML YAML  yaml config file path
  -l, --LOG             save log
  -n, --NOTOPENFOLDER   don't open output folder

Config

Refer to config.yaml which generated by the following command:

make gen

Reference

The following references were used in the development of this project:

After v3.0.0, ncnn will be deprecated, and the project will use ccrestoration(PyTorch) as the algorithm implementation.


License

This project is licensed under the BSD 3-Clause - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

final2x_core-3.0.2-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file final2x_core-3.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for final2x_core-3.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d0f374eb6fa2599e0c666a2eb6f4edc9a53d249ae2fbfffb55b144d61fa6bbe0
MD5 3536ae72e5e7e57c02f0e1190524ca1c
BLAKE2b-256 4d78b26f212dec178fcb1449428defb90626c372009df9a5fecabdf85a8749fa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page