Skip to content

Commit

Permalink
bump: v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikaidou-Shinku committed Dec 23, 2023
1 parent a7b8cc0 commit 5f444d3
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "real-cugan-rs"
version = "0.2.0"
version = "0.3.0"
edition = "2021"
authors = ["yurzhang <[email protected]>"]

Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,18 @@ Usage: real-cugan-rs [OPTIONS] --input-path <INPUT> --output-path <OUTPUT>
Options:
-i, --input-path <INPUT> Input image path
-o, --output-path <OUTPUT> Output image path
-c, --use-cpu Use CPU instead of GPU for inference
-C, --use-cpu Use CPU instead of GPU for inference
-m, --model-name <MODEL> Filename of the model in `models` directory [default: pro-no-denoise-up2x.pth]
-a, --alpha <ALPHA> Please check the documentation for this option [default: 1.0]
-t, --tile-size <TILE> Tile size, smaller value can reduce memory usage
--no-cache Disable cache
-h, --help Print help
-V, --version Print version
```

Supported image formats: JPEG, PNG, WebP.
Supported image formats: BMP, JPEG, PNG, WebP.

### Note

- Currently only 2x upscale of the pro model is supported.
- Currently no tile support.
- **PRs are welcome!**
10 changes: 6 additions & 4 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
real-cugan-rs -i input.webp -o output.webp
```

完整帮助文档
完整帮助文本

```console
A Rust port of Real-CUGAN
Expand All @@ -24,16 +24,18 @@ Usage: real-cugan-rs [OPTIONS] --input-path <INPUT> --output-path <OUTPUT>
Options:
-i, --input-path <INPUT> Input image path
-o, --output-path <OUTPUT> Output image path
-c, --use-cpu Use CPU instead of GPU for inference
-C, --use-cpu Use CPU instead of GPU for inference
-m, --model-name <MODEL> Filename of the model in `models` directory [default: pro-no-denoise-up2x.pth]
-a, --alpha <ALPHA> Please check the documentation for this option [default: 1.0]
-t, --tile-size <TILE> Tile size, smaller value can reduce memory usage
--no-cache Disable cache
-h, --help Print help
-V, --version Print version
```

支持的图片格式:JPEG、PNG、WebP。
支持的图片格式:BMP、JPEG、PNG、WebP。

### 注意事项

- 目前仅支持 pro 模型的 2 倍超分。
- 目前不支持切分图片后推理(仅支持直接使用整张图片进行推理)。
- **欢迎 PR!**

0 comments on commit 5f444d3

Please sign in to comment.