Fix typo in docker/README.md

This commit fixes a typo in the README file in docker directory.

Previous text:
tf.config.list_physical_devices("GPU)

Corrected text:
tf.config.list_physical_devices("GPU")
main
이민우 2024-03-20 11:18:00 +09:00
parent 4e055a121d
commit 8b03c0cab2
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ $ docker run --name handson-ml3 --gpus all -p 8888:8888 -p 6006:6006 --log-opt m
If you are using an older version of Docker, then replace `--gpus all` with `--runtime=nvidia`. If you are using an older version of Docker, then replace `--gpus all` with `--runtime=nvidia`.
Now point your browser to the displayed URL: Jupyter should appear, and you can open a notebook and run `import tensorflow as tf` and `tf.config.list_physical_devices("GPU)` as above to confirm that TensorFlow does indeed see your GPU device(s). Now point your browser to the displayed URL: Jupyter should appear, and you can open a notebook and run `import tensorflow as tf` and `tf.config.list_physical_devices("GPU")` as above to confirm that TensorFlow does indeed see your GPU device(s).
Lastly, to interrupt the server, press Ctrl-C, then run: Lastly, to interrupt the server, press Ctrl-C, then run: