diff --git a/README.rst b/README.rst index fcd5217..24fb83e 100644 --- a/README.rst +++ b/README.rst @@ -37,14 +37,14 @@ The default is to use ``--device=cpu``, if you have NVIDIA card setup with CUDA .. code:: bash - # Run the super-resolution script for one image. - python3 enhance.py example.png + # Run the super-resolution script for one image, factor 1:1. + python3 enhance.py --zoom=1 example.png - # Also process multiple files with a single run. - python3 enhance.py file1.jpg file2.jpg + # Also process multiple files with a single run, factor 2:1. + python3 enhance.py --zoom=2 file1.jpg file2.jpg - # Display output images that were given `_ne4x.png` suffix. - open *_ne4x.png + # Display output images that were given `_ne?x.png` suffix. + open *_ne?x.png 1.b) Training Super-Resolution @@ -89,19 +89,19 @@ The easiest way to get up-and-running is to `install Docker `_ and it should use your physical hardware! +If you want to run on your NVIDIA GPU, you can instead change the alias to use the image ``alexjc/neural-enhance:gpu`` which comes with CUDA and CUDNN pre-installed. Then run it within `nvidia-docker `_ and it should use your physical hardware! 2.b) Manual Installation [developers]