|
Download clean/video/fakestormer/dockerfiles/README.md from deepsafe/model-code: direct link, hf CLI and curl.
- Browser
- Download file 2.01 kB
-
https://huggingface.co/deepsafe/model-code/resolve/main/clean/video/fakestormer/dockerfiles/README.md
- Command line
-
hf download hf://deepsafe/model-code/clean/video/fakestormer/dockerfiles/README.md
-
curl -L -o README.md https://huggingface.co/deepsafe/model-code/resolve/main/clean/video/fakestormer/dockerfiles/README.md
2.01 kB
Docker Build (Optional)
We further provide an optional Docker file which can be used to build working env with Docker.
Install docker to the system (skip the step if docker has been already installed):
sudo apt install dockerTo start your docker environment, please go to the folder dockerfiles:
cd dockerfilesCreate a docker image (you can put any name you want):
docker build --tag 'fakestormer' .Check the status of the image created:
Run command:
docker image lsYou should see something similiar:
REPOSITORY IMAGE ID CREATED SIZE TAG fakestormer efd422370750 12 minutes ago 18.4GB latest
Run a container from the created image:
- Run command
docker run -v <data_path>:<path_in_container> --gpus 'all,capabilities=utility' -it fakestormer /bin/bash - Check the container created:
- Run command:
docker ps - Check the result:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 0203c192febb fakestormer "/bin/bash" 29 seconds ago Up 28 seconds determined_cannon - To access the docker container:
docker exec -it 0203c192febb /bin/bash - To start the container:
docker start 0203c192febb - To stop the container:
docker stop 0203c192febb
- Run command:
- Run command
Inside the docker container, you can clone or mount the repository from outside:
cd /workspace/ git clone https://github.com/10Ring/FakeSTormer.git cd FakeSTormer/Now you are ready for QuickStart