DeepNude Source Code for Videos
- Download the model
https://github.com/zhengyima/DeepNude_NoWatermark_withModel
-
Set models in the
/checkpoints
directory -
Set video to
videos/
directory -
Build docker machine
docker build -t deepnude/4videos .
- Exec docker container
docker run --rm -it -v $PWD:/app:rw deepnude/4videos python main.py ./videos/in.mp4 ./videos/out.mp4
https://github.com/zhengyima/DeepNude_NoWatermark_withModel
in ./lib/gan.py
- self.gpu_ids = []
+ self.gpu_ids = [0]
Clipping
ffmpeg -i org.mp4 -ss 249 -t 1 in.mp4