train_ukbench.sh 546 B

123456789
  1. #!/bin/sh
  2. th convert_data.lua -data_dir ./data/ukbench
  3. #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
  4. #th tools/cleanup_model.lua -model models/ukbench/noise2_model.t7 -oformat ascii
  5. th train.lua -method scale -data_dir ./data/ukbench -model_dir models/ukbench -test images/lena.jpg # -thread 4 -backend cudnn
  6. th tools/cleanup_model.lua -model models/ukbench/scale2.0x_model.t7 -oformat ascii