How to setup NVIDIA DIGITS with QNAP NAS (Container Station)

網路上很多NVIDIA DIGITS教學文章:


今天來介紹如何在QNAP NAS上使用NVIDIA DIGITS !! 

先來為大家普及一下:

NVIDIA DIGITS


The NVIDIA Deep Learning GPU Training System (DIGITS) puts the power of deep learning into the hands of engineers and data scientists. DIGITS can be used to rapidly train the highly accurate deep neural network (DNNs) for image classification, segmentation and object detection tasks.
DIGITS simplifies common deep learning tasks such as managing data, designing and training neural networks on multi-GPU systems, monitoring performance in real time with advanced visualizations, and selecting the best performing model from the results browser for deployment. DIGITS is completely interactive so that data scientists can focus on designing and training networks rather than programming and debugging.



這次要藉由軟體容器工作站 Container Station 來做安裝。

QNAP Container Station
QNAP Container Station exclusively integrates LXC and Docker® lightweight virtualization technologies, allowing you to operate multiple isolated Linux®systems on a QNAP NAS as well as download apps from the built-in Docker® Hub Registry.


Docker Hub上可以找到的NVIDIA DIGITS :
https://hub.docker.com/r/nvidia/digits/

direct search on the docker hub



when install you can select the tag


you can setup the network via GUI

ex. http://:32771














(set to bridge to using IP directly)



installed !!

or using command:

GPU=nvidia0 gpu-docker run -it -h digits_demo --name digits_demo -p 15000:5000 nvidia/digits:6.0

(the docker name is "digits_demo", and port: 15000, so that you can use http://nas_ip:15000)

其中如果想用SSH連進這個docker,可以在連進來之後使用 "docker attach 

當然也可以直接用QTS,使用SSH連進NAS,用指令 "GPU=nvidia0 gpu-docker run" 來調配GPU (using SSH to NAS and use "GPU=nvidia0 gpu-docker run")。

在使用Container Station  /docker 有一些常見的問題也幫大家整理一下

Q: 建好的Container 關掉就不見了
A: 檢查 docker run 有沒有用到  --rm parameter

Q: 如何建立共享資料夾,讓Container 跟NAS互相可以溝通。
A: 用 -v parameter 去 mount the shared folder, 

例如想要 mount the shared folder "ABC" in "volume 1" to folder "DEF" in docker 
-v /share/CACHEDEV1_DATA/ABC:/DEF



另外分享一下QNAP 對於QuAI 的介紹影片:


有任何問題歡迎留言一起討論。



相關資源:
更多NAS應用:
威聯通科技股份有限公司 (QNAP Systems, Inc.) 立足台灣台北,提供全面且先進的 NAS 網路儲存與影像監控解決方案,讓使用者享有操作簡單、高安全性、並可彈性擴充的數位應用管理中心。優異的 NAS 產品不僅增進檔案儲存、備份/快照、虛擬化應用、與協同合作的效率,同時提供多媒體影音體驗,豐富數位娛樂生活。威聯通更跨足物聯網領域,並整合人工智慧 (A.I.) 與機器學習 (Machine Learning) 技術,期盼將 QNAP NAS 進化為智能管理中樞,為人類生活創造更多可能性。

arrow
arrow
    全站熱搜

    tttt 發表在 痞客邦 留言(0) 人氣()