You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 2, 2021. It is now read-only.
@@ -79,7 +79,7 @@ Pre-trained models are provided in the GitHub releases. Training your own is a
79
79
--discriminator-size=64
80
80
81
81
# The newly trained model is output into this file...
82
-
ls ne4x-custom-*.pkl.bz2
82
+
ls ne?x-custom-*.pkl.bz2
83
83
84
84
85
85
.. image:: docs/BankLobby_example.gif
@@ -109,14 +109,14 @@ Here's the simplest way you can call the script using ``docker``, assuming you'r
109
109
alias enhance='function ne() { docker run --rm -v "$(pwd)/`dirname ${@:$#}`":/ne/input -it alexjc/neural-enhance ${@:1:$#-1} "input/`basename ${@:$#}`"; }; ne'
110
110
111
111
# Now run any of the examples above using this alias, without the `.py` extension.
112
-
enhance --zoom=1 --model=small images/example.jpg
112
+
enhance --zoom=1 --model=repair images/broken.jpg
113
113
114
114
**Multiple Images** — To enhance multiple images in a row (faster) from a folder or widlcard specification, make sure to quote the argument to the alias command:
115
115
116
116
.. code:: bash
117
117
118
118
# Process multiple images, make sure to quote the argument!
119
-
enhance --zoom=2 --model=small "images/*.jpg"
119
+
enhance --zoom=2 "images/*.jpg"
120
120
121
121
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 <https://github.com/NVIDIA/nvidia-docker>`_ and it should use your physical hardware!
0 commit comments