2015-05-17 17:42:53 +12:00
|
|
|
#!/bin/sh
|
|
|
|
|
2015-10-26 13:23:52 +13:00
|
|
|
th convert_data.lua
|
|
|
|
|
2015-11-06 14:08:54 +13:00
|
|
|
th train.lua -method scale -model_dir models/anime_style_art_rgb -test images/miku_small.png -thread 4
|
|
|
|
th tools/cleanup_model.lua -model models/anime_style_art_rgb/scale2.0x_model.t7 -oformat ascii
|
2015-05-17 17:42:53 +12:00
|
|
|
|
2015-11-06 14:08:54 +13:00
|
|
|
th train.lua -method noise -noise_level 1 -style art -model_dir models/anime_style_art_rgb -test images/miku_noisy.png -thread 4
|
|
|
|
th tools/cleanup_model.lua -model models/anime_style_art_rgb/noise1_model.t7 -oformat ascii
|
2015-10-26 13:23:52 +13:00
|
|
|
|
2015-11-06 14:08:54 +13:00
|
|
|
th train.lua -method noise -noise_level 2 -style art -model_dir models/anime_style_art_rgb -test images/miku_noisy.png -thread 4
|
|
|
|
th tools/cleanup_model.lua -model models/anime_style_art_rgb/noise2_model.t7 -oformat ascii
|