Add ne4x pretrained weights to docker image (#85)
Add ne4x and deblur pretrained weights to docker image. * Update docker-cpu.df * Update docker-gpu.df
This commit is contained in:
committed by
Alex J. Champandard
parent
559e66bbb2
commit
4ee13f5ac5
+2
-1
@@ -26,8 +26,9 @@ RUN /opt/conda/bin/python3.5 -m pip install -q -r "requirements.txt"
|
||||
COPY enhance.py .
|
||||
|
||||
# Get a pre-trained neural networks, non-commercial & attribution.
|
||||
RUN wged -q "https://github.com/alexjc/neural-enhance/releases/download/v0.3/ne1x-photo-deblur-0.3.pkl.bz2"
|
||||
RUN wget -q "https://github.com/alexjc/neural-enhance/releases/download/v0.3/ne1x-photo-repair-0.3.pkl.bz2"
|
||||
RUN wget -q "https://github.com/alexjc/neural-enhance/releases/download/v0.3/ne2x-photo-default-0.3.pkl.bz2"
|
||||
|
||||
RUN wget -q "https://github.com/alexjc/neural-enhance/releases/download/v0.3/ne4x-photo-default-0.3.pkl.bz2"
|
||||
# Set an entrypoint to the main enhance.py script
|
||||
ENTRYPOINT ["/opt/conda/bin/python3.5", "enhance.py", "--device=cpu"]
|
||||
|
||||
@@ -24,8 +24,10 @@ RUN /opt/conda/bin/python3.5 -m pip install -q -r "requirements.txt"
|
||||
COPY enhance.py .
|
||||
|
||||
# Get a pre-trained neural networks, non-commercial & attribution.
|
||||
RUN wged -q "https://github.com/alexjc/neural-enhance/releases/download/v0.3/ne1x-photo-deblur-0.3.pkl.bz2"
|
||||
RUN wget -q "https://github.com/alexjc/neural-enhance/releases/download/v0.3/ne1x-photo-repair-0.3.pkl.bz2"
|
||||
RUN wget -q "https://github.com/alexjc/neural-enhance/releases/download/v0.3/ne2x-photo-default-0.3.pkl.bz2"
|
||||
RUN wget -q "https://github.com/alexjc/neural-enhance/releases/download/v0.3/ne4x-photo-default-0.3.pkl.bz2"
|
||||
|
||||
# Set an entrypoint to the main enhance.py script
|
||||
ENTRYPOINT ["/opt/conda/bin/python3.5", "enhance.py", "--device=gpu"]
|
||||
|
||||
Reference in New Issue
Block a user