1
0
Fork 0
mirror of synced 2024-05-15 02:12:22 +12:00
waifu2x/.gitignore
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

20 lines
237 B
Plaintext

*~
work/
cache/*.png
cache/url_*
data/*
!data/.gitkeep
models/*
!models/anime_style_art
!models/anime_style_art_rgb
!models/ukbench
!models/photo
!models/upconv_7
!models/vgg_7
models/*/*.png
models/*/*/*.png
waifu2x.log
waifu2x-*.log