mirror of
https://github.com/igv/FSRCNN-TensorFlow.git
synced 2025-12-17 18:26:53 +08:00
README usage formatting
This commit is contained in:
11
README.md
11
README.md
@@ -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>
|
||||||
<br>
|
<br>
|
||||||
|
|||||||
Reference in New Issue
Block a user