README usage formatting

This commit is contained in:
Drake Levy
2017-03-01 17:40:48 -08:00
parent 9dc08303cc
commit 906cfe03ff

View File

@@ -11,22 +11,21 @@ TensorFlow implementation of the Fast Super-Resolution Convolutional Neural Netw
## Usage ## Usage
For training: `python main.py` For training: `python main.py`
<br> <br>
Can specify epochs, learning rate, data directory, etc:
<br>
`python main.py --epochs 10 --learning_rate 0.0001 --data_dir Train`
<br>
<br>
For testing: `python main.py --train False` For testing: `python main.py --train False`
To use FSCRNN-s instead of FSCRNN: `python main.py --fast True` To use FSCRNN-s instead of FSCRNN: `python main.py --fast True`
Can specify epochs, learning rate, data directory, etc:
<br>
`python main.py --epochs 10 --learning_rate 0.0001 --data_dir Train`
<br>
Check `main.py` for all the possible flags Check `main.py` for all the possible flags
Also includes script `expand_data.py` which scales and rotates all the images in the specified training set to expand it Also includes script `expand_data.py` which scales and rotates all the images in the specified training set to expand it
## Result ## Result
<br><br> <br>
Original butterfly image: Original butterfly image:
<br> <br>
![orig](https://github.com/drakelevy/FSRCNN-Tensorflow/blob/master/result/original.png)<br> ![orig](https://github.com/drakelevy/FSRCNN-Tensorflow/blob/master/result/original.png)<br>