The following things are what I try and didn’t work. I want to get the following image result.
downloading (cloning) stylegan2 code
git clone [https://github.com/NVlabs/stylegan2](https://www.youtube.com/redirect?
going into stylegan2 directory
cd stylegan2
Testing GPU access in docker
stylegan2 % docker run --gpus all nvidia-smi
Output:
Unable to find image 'nvidia-smi:latest' locally
docker: Error response from daemon: pull access denied for nvidia-smi, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
building the docker image
stylegan2 % docker build . -t stylegan2
starting the docker container
stylegan2 % docker run --gpus all -v ~:/home -u $(id -u):$(id -g) -it stylegan2 bash
Output:
Unable to find image 'stylegan2:latest' locally
docker: Error response from daemon: pull access denied for stylegan2, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.