1
0
Fork 0
mirror of synced 2024-06-29 11:41:29 +12:00
Commit graph

10 commits

Author SHA1 Message Date
nagadomi d2c081bbcf Improve alpha channel handling #29
- make border
- scale the alpha channel by waifu2x
- composite
2015-12-01 17:26:45 +09:00
nagadomi abedec9d9b Fix filter name for graphicsmagick
graphicsmagick package has bug in the definition of FilteTypes.
I will send PR to fix that bug.
This commit is related to it.
You should upgrade graphicsmagick package.

$ luarocks install graphicsmagick
2015-11-21 11:57:33 +09:00
nagadomi b335f3a9ad Add -tta option
The TTA mode:
- 8x slower than normal mode
- improves PSNR +0.1
2015-11-09 04:01:28 +09:00
nagadomi 7d67afb982 Use iproc.crop instead of image.crop 2015-11-08 22:11:36 +09:00
nagadomi 3abc5a03e3 refactor 2015-10-28 16:01:07 +09:00
nagadomi 8dea362bed sync from internal repo
- Memory compression by snappy (lua-csnappy)
- Use RGB-wise Weighted MSE(R*0.299, G*0.587, B*0.114) instead of MSE
- Aggressive cropping for edge region
and some change.
2015-10-26 09:23:52 +09:00
nagadomi 5b4d692f03 add support for RGB color space reconstruction
- add new RGB model (models/anime_style_art_rgb).
- RGB model can reduce color noise.
- waifu2x uses this RGB model by default.

You can use Y model with:
$ th waifu2x.lua -model_dir models/anime_style_art -i input.png -o output.png
$ th train.lua -color y ...
2015-06-23 02:55:30 +09:00
nagadomi a706892b59 merge develop repo
- remove support for cuDNN
- add new pre-trained model and json files
- some changes in training script

If you have cuDNN model, Please run following commands to convert.
$ cp models/your_own_model.t7 models/your_own_model.t7.backup
$ th cudnn2cunn.lua -model models/your_own_model.t7
2015-06-13 15:20:40 +09:00
nagadomi 1c1f2292d1 fix ugly chroma scaling 2015-05-22 20:06:25 +09:00
nagadomi ffd52fdb2b super typo fix 2015-05-19 16:47:52 +09:00
Renamed from lib/reconstract.lua (Browse further)