Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
d1y committed Jun 18, 2024
1 parent 5f99b4c commit 03c57d8
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# Automatic colorization
# AI自动上色

1. Download [generator](https://drive.google.com/file/d/1qmxUEKADkEM4iYLp1fpPLLKnfZ6tcF-t/view?usp=sharing) and [denoiser](https://drive.google.com/file/d/161oyQcYpdkVdw8gKz_MA8RD-Wtg9XDp3/view?usp=sharing) weights. Put generator and extractor weights in `networks` and denoiser weights in `denoising/models`.
2. To colorize image or folder of images, use the following command:
```
$ python inference.py -p "path to file or folder"
[generator](https://drive.google.com/file/d/1qmxUEKADkEM4iYLp1fpPLLKnfZ6tcF-t/view?usp=sharing)
[denoiser](https://drive.google.com/file/d/161oyQcYpdkVdw8gKz_MA8RD-Wtg9XDp3/view?usp=sharing)

<!--Put generator and extractor weights in `networks` and denoiser weights in `denoising/models`.-->

```sh
python install -r requirements.txt
python inference.py -p "path to file or folder"
```

| Original | Colorization |
Expand All @@ -14,3 +18,6 @@ $ python inference.py -p "path to file or folder"
| <img src="figures/bw4.jpg" width="512"> | <img src="figures/color4.png" width="512"> |
| <img src="figures/bw5.jpg" width="512"> | <img src="figures/color5.png" width="512"> |
| <img src="figures/bw6.jpg" width="512"> | <img src="figures/color6.png" width="512"> |


fork by https://github.com/qweasdd/manga-colorization-v2.git

0 comments on commit 03c57d8

Please sign in to comment.