How to use TensorFlow on QNAP NAS (with Container Station)
What is TensorFlow
- TensorFlow™ is an open source software library for numerical computation using data flow graphs. Nodes in the graph represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) communicated between them. The flexible architecture allows you to deploy computation to one or more CPUs or GPUs in a desktop, server, or mobile device with a single API. TensorFlow was originally developed by researchers and engineers working on the Google Brain Team within Google’s Machine Intelligence research organization for the purposes of conducting machine learning and deep neural networks research, but the system is general enough to be applicable in a wide variety of other domains as well.
Installation Instructions
- Open Container station and click on "Create Container".
- Search for keyword "TensorFlow". You can find the TensorFlow containers under the "AI" tab. Find "TensorFlow-GPU" and click "Install".
- Enter a name for the container.
- Click "Advanced Settings" and go to "Device". Enable "Use GPU resource to run container".
- If needed, you can mount a specified NAS folder to this container in "Shared Folder". In the below screenshot, the folder "Public" is being mounted to the container.
- Click "Create". The container will be created and listed in the Overview page.
- You can now access the container using the terminal or SSH.
8. open Jupyter Notebook
a. click URL
b. Jupyter Notebook login need token c. go to Terminal enter /bin/sh to connect into the Container
enter:
jupyter notebook list
it will show the token
http://localhost:8888/?token=048c7741d736c2741eb375ee189a20fbe09d364870a6001d :: /notebooks
then you can copy 048c7741d736c2741eb375ee189a20fbe09d364870a6001d to the jupyter notbook init page
and now you have the access to the jupyter notebook:
Suggested Reading
留言
張貼留言
歡迎留言一起討論