1
0
Fork 0
mirror of synced 2024-05-07 06:22:25 +12:00
Commit graph

34 commits

Author SHA1 Message Date
nagadomi 563c5b9fc1 Update models/anime_style_art_rgb link 2018-11-14 20:19:06 +09:00
nagadomi 2f24c079fc Add pretrained cunet/upcunet models for art 2018-11-14 17:33:05 +09:00
nagadomi 3447c6c44c rename srresnet_12l to resnet_14l because it's not the same as SRResNet 2017-01-21 16:53:10 +09:00
nagadomi a95f41f464 Add pretraind srresnet_12l model; Update benchmark 2016-12-08 06:15:23 +09:00
nagadomi 64952bad1f Add upconv_7l models. only 2x. 2016-10-08 19:36:09 +09:00
nagadomi 96bf23b29e Fix cudnn -> cunn 2016-08-07 01:59:17 +09:00
nagadomi 7040dff6f8 Fix noise0 model (backend: cudnn -> cunn) 2016-08-07 01:41:42 +09:00
nagadomi 93511a2a9f Update upconv_7/art/scale2.0x model; Fix mesh-artifact 2016-07-30 05:16:02 +09:00
nagadomi 3b728643ec Update upconv_7 models; bias term in last layer is removed 2016-07-21 20:41:48 +09:00
nagadomi 9563d84302 No bias at FullConvolution 2016-07-12 11:15:12 +09:00
nagadomi e04650f94d Change model links 2016-07-09 16:24:50 +09:00
nagadomi cbe1874be3 Add noise0 model to photo/art 2016-07-09 09:06:51 +09:00
nagadomi ca6786b9dc Add upconv_7/photo models. Update vgg_7/photo/noise* models 2016-07-04 04:51:22 +09:00
nagadomi 708447a246 Update pretrained models. support for yuv420 jpeg 2016-06-20 15:58:11 +09:00
nagadomi a545bcffbd Update models/upconv_7/art 2016-06-13 14:54:26 +09:00
nagadomi a210090033 Convert model files; Add new pretrained model
- Add new pretrained model to ./models/upconv_7
- Move old models to ./models/vgg_7
- Use nn.LeakyReLU instead of w2nn.LeakyReLU
- Add useful attribute to .json

New JSON attribute:
The first layer has `model_config` attribute.
It contains:
  model_arch: architecture name of model. see `lib/srcnn.lua`
  scale_factor: if scale_factor > 1, model:forward() changes image resolution with scale_factor.
  channels: input/output channels. if channels == 3, model is RGB model.
  offset: pixel size that is to be removed from output.
          for example:
            (scale_factor=1, offset=7, input=100x100) => output=(100-7)x(100-7)
            (scale_factor=2, offset=12, input=100x100) => output=(100*2-12)x(100*2-12)
And each layer has `class_name` attribute.
2016-05-15 03:04:08 +09:00
nagadomi d818923f33 Revert anime_style_art_rgb/scale2.0x_model.t7 2016-03-27 20:20:17 +09:00
nagadomi f221febf5f Update jsons 2016-03-27 17:47:19 +09:00
nagadomi 69ded0223a Add level 3 noise reduction models 2016-03-27 17:26:10 +09:00
nagadomi 8802c8c081 Update anime_style_artanime_style_art(RGB) models 2016-03-27 17:18:25 +09:00
nagadomi 4742dd1807 Update anime_style_art(Y) models 2016-03-27 17:15:14 +09:00
nagadomi a897a83f31 Fix loading error in Y model 2016-01-23 09:36:54 +09:00
nagadomi aef9fd8443 Update art 2x model 2015-12-11 16:34:37 +09:00
nagadomi c35abe33e5 Add denoising model for photo 2015-12-04 18:51:17 +09:00
nagadomi d08ed3efff Add 2x model for photo scaling 2015-11-30 17:34:03 +09:00
nagadomi bcbebe5f77 Update denosing models 2015-11-12 03:44:40 +09:00
nagadomi 7856ba90c7 Update trained models 2015-11-06 10:43:05 +09:00
nagadomi 33389d5d22 update anime_style_art_rgb/noise1 and anime_style_art_rgb/noise2 2015-07-18 11:37:06 +09:00
nagadomi 2c00335f96 update anime_style_art_rgb/scale2.0x_model 2015-07-12 00:03:24 +09:00
nagadomi 95e9d276a3 add new model for photo
- add ukbench model (models/ukbench)
- ukbench model was trained by Recognition Benchmark Images (http://www.vis.uky.edu/~stewe/ukbench/)

usage:
$ th waifu2x.lua -m scale -model_dir models/ukbench -i input.jpg -o output.png
2015-06-23 18:03:23 +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 83548d7494 update noise1_model 2015-05-17 02:44:08 +09:00
nagadomi 1273b3609e first commit 2015-05-16 14:48:05 +09:00