Comments (2)
You saved my day. 😁
from bringing-old-photos-back-to-life.
You can also use this, which is not dependent (not using ADD
) to this repo
FROM nvidia/cuda:12.1.0-base-ubuntu20.04
RUN apt update && DEBIAN_FRONTEND=noninteractive apt install git bzip2 wget unzip python3-pip python3-dev cmake libgl1-mesa-dev python-is-python3 libgtk2.0-dev -yq
RUN git clone https://github.com/microsoft/Bringing-Old-Photos-Back-to-Life.git
RUN cd Bringing-Old-Photos-Back-to-Life/Face_Enhancement/models/networks/ &&\
git clone https://github.com/vacancy/Synchronized-BatchNorm-PyTorch &&\
cp -rf Synchronized-BatchNorm-PyTorch/sync_batchnorm . &&\
cd ../../../
RUN cd Bringing-Old-Photos-Back-to-Life/Global/detection_models &&\
git clone https://github.com/vacancy/Synchronized-BatchNorm-PyTorch &&\
cp -rf Synchronized-BatchNorm-PyTorch/sync_batchnorm . &&\
cd ../../
RUN cd Bringing-Old-Photos-Back-to-Life/Face_Detection/ &&\
wget http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2 &&\
bzip2 -d shape_predictor_68_face_landmarks.dat.bz2 &&\
cd ../
RUN cd Bringing-Old-Photos-Back-to-Life/Face_Enhancement/ &&\
wget https://github.com/microsoft/Bringing-Old-Photos-Back-to-Life/releases/download/v1.0/face_checkpoints.zip &&\
unzip face_checkpoints.zip &&\
cd ../ &&\
cd Global/ &&\
wget https://github.com/microsoft/Bringing-Old-Photos-Back-to-Life/releases/download/v1.0/global_checkpoints.zip &&\
unzip global_checkpoints.zip &&\
cd ../
RUN pip3 install numpy
RUN pip3 install dlib
RUN pip3 install -r Bringing-Old-Photos-Back-to-Life/requirements.txt
RUN git clone https://github.com/NVlabs/SPADE.git
RUN cd SPADE/ && pip3 install -r requirements.txt
RUN cd ..
CMD ["python3", "run.py"]
from bringing-old-photos-back-to-life.
Related Issues (20)
- i am not able to run code for installation HOT 3
- dataset information and details of training and hyperparameter and number of epoch HOT 1
- this project still available?
- Why do I get this error when I add my own photo
- MemoryError
- 代码里好多错误,pix2pixHD_model_DA.py里面的netE是什么了?
- how can I use my own model
- 很多很多问题,应该是没有再维护了
- 尝试从google.protobuf.internal模块导入名为'builder'的子模块时出现了问题
- Not working (conda with env) HOT 5
- Not working HOT 2
- Out of memory error
- : unrecognized arguments HOT 1
- Deprecated dependencies detected
- How can I use the GPU on the macbook(m1) ?
- No errors, but output images are blank/white
- IndexError: list index out of range (model on replicate.com) HOT 2
- cast error - line 219 in align_warp_back_multiple_dlib.py, using Python 3.10.12 HOT 1
- GUI warns it has gone commercial and a licence will be required
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bringing-old-photos-back-to-life.