1
0
Fork 0
mirror of synced 2024-06-01 10:39:30 +12:00
This commit is contained in:
nagadomi 2015-05-21 12:23:11 +09:00
parent 364ae0681f
commit 6a7ecfc45c
2 changed files with 4 additions and 4 deletions

View file

@ -162,7 +162,7 @@ th convert_data.lua
### Training a Noise Reduction(level1) model
```
th train.lua -method noise -noise_level 1 -test images/miku_noise.png
th train.lua -method noise -noise_level 1 -test images/miku_noisy.png
th cleanup_model.lua -model models/noise1_model.t7 -oformat ascii
```
You can check the performance of model with `models/noise1_best.png`.
@ -170,7 +170,7 @@ You can check the performance of model with `models/noise1_best.png`.
### Training a Noise Reduction(level2) model
```
th train.lua -method noise -noise_level 2 -test images/miku_noise.png
th train.lua -method noise -noise_level 2 -test images/miku_noisy.png
th cleanup_model.lua -model models/noise2_model.t7 -oformat ascii
```
You can check the performance of model with `models/noise2_best.png`.

View file

@ -1,9 +1,9 @@
#!/bin/sh
th train.lua -method noise -noise_level 1 -test images/miku_noise.png
th train.lua -method noise -noise_level 1 -test images/miku_noisy.png
th cleanup_model.lua -model models/noise1_model.t7 -oformat ascii
th train.lua -method noise -noise_level 2 -test images/miku_noise.png
th train.lua -method noise -noise_level 2 -test images/miku_noisy.png
th cleanup_model.lua -model models/noise2_model.t7 -oformat ascii
th train.lua -method scale -scale 2 -test images/miku_small.png