2015-10-26 13:23:52 +13:00
|
|
|
#!/bin/sh
|
|
|
|
|
2015-11-06 14:08:54 +13:00
|
|
|
th convert_data.lua -data_dir ./data/ukbench
|
2015-10-26 13:23:52 +13:00
|
|
|
|
2015-11-15 13:36:40 +13:00
|
|
|
#th train.lua -style photo -method noise -noise_level 2 -data_dir ./data/ukbench -model_dir models/ukbench -test images/lena.png -nr_rate 0.9 -jpeg_sampling_factors 420 # -thread 4 -backend cudnn
|
|
|
|
#th tools/cleanup_model.lua -model models/ukbench/noise2_model.t7 -oformat ascii
|
|
|
|
|
|
|
|
th train.lua -method scale -data_dir ./data/ukbench -model_dir models/ukbench -test images/lena.jpg # -thread 4 -backend cudnn
|
2015-11-06 14:08:54 +13:00
|
|
|
th tools/cleanup_model.lua -model models/ukbench/scale2.0x_model.t7 -oformat ascii
|