mirror of
https://github.com/serengil/deepface.git
synced 2025-06-06 19:45:21 +00:00
script fixed
- Dockerfile is in the root, changed directory to parent - built image name and run image were different
This commit is contained in:
parent
d59b275baa
commit
9aa2cf4585
@ -1,3 +1,6 @@
|
|||||||
|
# Dockerfile is in the root
|
||||||
|
cd ..
|
||||||
|
|
||||||
# start docker
|
# start docker
|
||||||
# sudo service docker start
|
# sudo service docker start
|
||||||
|
|
||||||
@ -8,7 +11,7 @@
|
|||||||
# docker rm -f $(docker ps -a -q --filter "ancestor=deepface")
|
# docker rm -f $(docker ps -a -q --filter "ancestor=deepface")
|
||||||
|
|
||||||
# build deepface image
|
# build deepface image
|
||||||
docker build -t deepface_image .
|
docker build -t deepface .
|
||||||
|
|
||||||
# copy weights from your local
|
# copy weights from your local
|
||||||
# docker cp ~/.deepface/weights/. <CONTAINER_ID>:/root/.deepface/weights/
|
# docker cp ~/.deepface/weights/. <CONTAINER_ID>:/root/.deepface/weights/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user