1
0
Fork 0
mirror of synced 2024-05-20 04:42:19 +12:00

Add the output format description for batch conversion

This commit is contained in:
nagadomi 2016-07-26 19:26:43 +09:00
parent 0e93848984
commit 1222bc28e7

View file

@ -156,6 +156,9 @@ find /path/to/imagedir -name "*.png" -o -name "*.jpg" > image_list.txt
th waifu2x.lua -m scale -l ./image_list.txt -o /path/to/outputdir/prefix_%d.png
```
The output format supports `%s` and `%d`(e.g. %06d). `%s` will be replaced a basename of source filename. `%d` will be replaced a sequence number.
For example, when input filename is `piyo.png`, `%s_%03d.png` will be replaced `piyo_001.png`.
See also `th waifu2x.lua -h`.
### Using photo model