Cov txheej txheem:
- Khoom siv
- Kauj ruam 1: Kev txhawb siab
- Kauj ruam 2: NVIDIA JetBot & Txheej txheem cej luam
- Kauj Ruam 3: Tsim JetBot thiab Upload Jupyter Notebooks
- Kauj Ruam 4: Sau Cov Ntaub Ntawv Kawm ntawm JetBot
- Kauj Ruam 5: Qhia Neural Network ntawm GPU Tshuab
- Kauj Ruam 6: Khiav Live Demo ntawm JetBot
Video: Hloov Kev Kawm Nrog NVIDIA JetBot - Kev Lom Zem Nrog Kev Nkag Mus Los: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Los ntawm dvillevaldMy GithubFollow Txog: Kuv nyiam AI thiab siv tshuab kev kawm paub, tshwj xeeb tshaj yog hauv neeg hlau Ntxiv Txog dvillevald »
Qhia koj tus neeg hlau kom nrhiav txoj hauv kev tshawb nrhiav qhov chaw ntawm lub tsheb cones siv lub koob yees duab thiab lub xeev-ntawm-tus-kos duab kev kawm tob.
Khoom siv
-
NVIDIA JetBot
NVIDIA JetBot Wiki's Bill of Materials nplooj ntawv teev txhua yam koj xav tau los tsim JetBot, nrog rau kev yuav khoom txuas los ntawm cov neeg muag khoom nrov
-
Khoos phis tawj nrog NVIDIA GPU
Yuav tsum tau cob qhia tus qauv
- BlueDot Trading 4 "RC Racing Agility Cones, Orange - Teeb ntawm 20
Kauj ruam 1: Kev txhawb siab
Txhua lub sijhawm kuv tsav tsheb hauv thaj chaw cog lus Kuv tab tom xav tias nyuaj npaum li cas nws yuav yog lub tsheb uas tsav tus kheej kom taug kev hla cov kab tsheb. Nws hloov tawm nws tsis yog qhov nyuaj nrog NVIDIA's JetBot tshiab-nrog tsuas yog ob peb puas daim duab, koj tuaj yeem cob qhia lub xeev-ntawm-tus-kos duab kev kawm sib sib zog nqus qauv los qhia koj tus neeg hlau yuav ua li cas nrhiav txoj hauv kev tshawb ntawm cov khoom ua si cones siv lub koob yees duab onboard nkaus xwb thiab tsis muaj lwm yam kev ntsuas.
Kauj ruam 2: NVIDIA JetBot & Txheej txheem cej luam
JetBot yog qhov qhib neeg hlau raws li NVIDIA Jetson Nano cov khoom siv. Koj tuaj yeem pom cov lus qhia ntxaws txog yuav tsim thiab teeb nws li cas ntawm no.
Txoj haujlwm no yog hloov kho piv txwv kev sib tsoo los ntawm NVIDIA JetBot Wiki. Nws suav nrog peb kauj ruam tseem ceeb, txhua tus tau piav qhia hauv phau Jupyter cais:
- Sau cov ntaub ntawv ntawm JetBot - phau ntawv data_collection_cones.ipynb
- Tsheb nqaj hlau qauv ntawm lwm lub tshuab GPU - phau ntawv qhia kev train_model_cones.ipynb
- Khiav qhov kev ua yeeb yaj kiab nyob ntawm JetBot - phau ntawv sau live_demo_cones.ipynb
Koj tuaj yeem pom peb phau Jupyter phau ntawv no
Kauj Ruam 3: Tsim JetBot thiab Upload Jupyter Notebooks
- Tsim thiab teeb tsa JetBot raws li tau piav qhia ntawm no
- Txuas rau koj tus neeg hlau los ntawm kev mus rau https://: 8888 Nkag mus rau hauv nrog tus password tsis raug cai jetbot
- Kaw tag nrho lwm cov phau ntawv sau los ntawm kev xaiv Kernel -> Kaw Txhua Kernels…
- Nkag mus rau ~/Notebooks/
- Tsim cov subfolder tshiab ~/Notebooks/traffic_cones_driving/
- Upload data_collection_cones.ipynb thiab live_demo_cones.ipynb rau ~/Notebooks/traffic_cones_driving/
TSEEM CEEB: Qhov Jupyter phau ntawv sau data_collection_cones.ipynb thiab live_demo_cones.ipynb hais hauv cov lus qhia no yuav tsum tau khiav ntawm JetBot thaum train_model_cones.ipynb - ntawm lub khoos phis tawj nrog GPU.
Yog li ntawd peb yuav tsum upload cov ntaub ntawv_collection_cones.ipynb thiab live_demo_cones.ipynb mus rau JetBot thiab muab tso rau hauv ~/Notebooks/traffic_cones_driving/
Kauj Ruam 4: Sau Cov Ntaub Ntawv Kawm ntawm JetBot
Peb yuav sau cov ntaub ntawv faib tawm cov duab uas yuav siv los pab JetBot ua haujlwm hauv kev tshawb nrhiav ntawm cov tsheb sib tsoo. JetBot yuav kawm paub kwv yees qhov tshwm sim ntawm plaub qhov xwm txheej (chav kawm):
- Pub dawb - thaum nws muaj kev nyab xeeb mus rau tom ntej
- Thaiv - thaum muaj teeb meem nyob rau hauv pem hauv ntej ntawm tus neeg hlau
- Sab laug - thaum tus neeg hlau yuav tsum tig mus rau sab laug
- Txoj cai - thaum tus neeg hlau yuav tsum tig mus rau sab xis
Txhawm rau sau cov ntaub ntawv kev qhia ntawm JetBot peb yuav siv Jupyter phau ntawv data_collection_cones.ipynb uas muaj cov ncauj lus qhia ntxaws txog yuav ua li cas. Txhawm rau khiav phau ntawv no ntawm JetBot, ua raws cov kauj ruam tom ntej:
- Txuas rau koj tus neeg hlau los ntawm kev mus rau https://: jetbot-ip-address:: 8888
- Nkag mus nrog tus lej password jetbot
- Kaw tag nrho lwm cov phau ntawv sau los ntawm kev xaiv Kernel -> Kaw Txhua Kernels…
- Nkag mus rau ~/Notebooks/traffic_cones_driving/
- Qhib thiab ua raws li phau ntawv data_collection_cones.ipynb
Kauj Ruam 5: Qhia Neural Network ntawm GPU Tshuab
Tom ntej no, peb yuav siv cov ntaub ntawv khaws tseg los cob qhia txoj kev kawm tob tob AlexNet ntawm GPU tshuab (tus tswv tsev) los ntawm kev khiav train_model_cones.ipynb.
Nco ntsoov tias train_model_cones.ipynb tsuas yog phau ntawv Jupyter hauv phau ntawv qhia no uas tsis ua haujlwm ntawm JetBot
- Txuas mus rau lub tshuab GPU nrog PyTorch teeb tsa thiab Jupyter Lab server ua haujlwm
- Upload train_model_cones.ipynb phau ntawv thiab rau lub tshuab no
- Upload cov ntaub ntawv dataset_cones.zip uas koj tau tsim hauv cov ntaub ntawv data_collection_cones.ipynb thiab rho tawm cov ntaub ntawv no. (Tom qab cov kauj ruam no koj yuav tsum pom daim nplaub tshev npe hu ua dataset_cones tshwm hauv cov ntawv browser.)
- Qhib thiab ua raws daim ntawv qhia kev train_model_cones.ipynb. Qhov kawg ntawm cov kauj ruam no, koj yuav tsim tus qauv - cov ntaub ntawv best_model_cones.pth uas tom qab ntawd yuav tsum tau muab xa mus rau JetBot kom khiav qhov kev ua yeeb yam nyob.
Kauj Ruam 6: Khiav Live Demo ntawm JetBot
Kauj ruam kawg no yog txhawm rau tshaj tawm tus qauv best_model_cones.pth rau JetBot thiab khiav nws.
- Hwj chim koj tus neeg hlau los ntawm pob USB roj teeb
- Txuas rov qab rau koj tus neeg hlau los ntawm kev mus rau https://: jetbot-ip-address:: 8888
- Nkag mus nrog tus lej password jetbot
- Kaw tag nrho lwm cov phau ntawv sau los ntawm kev xaiv Kernel -> Kaw Txhua Kernels…
- Nkag mus rau ~/Notebooks/traffic_cones_driving
- Qhib thiab ua raws phau ntawv live_demo_cones.ipynb
Pib ceev faj thiab muab JetBot qhov chaw txaus txav mus los. Sim sib txawv lub khob hliav qab teeb tsa thiab saib seb tus neeg hlau ua tau zoo npaum li cas hauv ib puag ncig sib txawv, teeb pom kev zoo, thiab lwm yam. Thaum phau ntawv sau live_demo_cones.ipynb piav qhia txhua kauj ruam hauv kev nthuav dav, daim duab hauv qab no qhia txog cov laj thawj ntawm cov neeg hlau txav mus raws qhov ua tau kwv yees los ntawm cov qauv.
Phau ntawv tseem piav qhia yuav ua li cas khaws keeb kwm ntawm cov neeg hlau txav nrog dawb/sab laug/sab xis/thaiv qhov tshwm sim kwv yees los ntawm tus qauv thiab yuav ua li cas thiaj ua tau ob FPV (Thawj Tus Neeg Saib) cov yeeb yaj kiab (ntawm 1 fps thiab 15 fps tus nqi) nrog cov xov tooj ntau tshaj thiab JetBot cov ntaub ntawv ua. Cov no muaj txiaj ntsig zoo rau kev debugging, PID tswj kev kho thiab txhim kho qauv.
Muaj kev lom zem thiab qhia rau kuv paub yog tias koj muaj lus nug!:-)
Code muaj nyob ntawm Github
Pom zoo:
Yuav Ua Li Cas Thiaj Li Qhib Koj Lub Raspberry Pi Rau Hauv Qhov Rooj Nkag Mus Nkag Mus Los: 6 Kauj Ruam
Yuav Ua Li Cas Thiaj Li Qhib Koj Lub Raspberry Pi Rau Hauv Qhov Rooj Nkag Nkag Nkag Nkag Nkag: Cov nyob zoo! Raws li qhov tshwm sim tsis ntev los no-peb, pab pawg ntawm remote.it tau nyuaj ntawm kev ua haujlwm tawm tswv yim tswv yim rau kev ua haujlwm nyob deb tsis muaj mob thiab siv tau. Peb tau tuaj nrog lub remote.itPi SD Card Duab, uas yog daim npav SD koj tuaj yeem tso rau hauv
Nkag Mus Nkag Rau Raspberry Pi nyob deb: SSH, Dekstop & FTP: 4 Kauj Ruam
Kev Nkag Mus Nkag Mus Rau Raspberry Pi nyob deb: SSH, Dekstop & FTP: Hauv kab ntawv no, peb tab tom saib 3 txoj hauv kev sib txawv uas koj tuaj yeem nkag mus rau Raspberry Pi nyob deb kom yooj yim ua haujlwm nrog nws. Thawj qhov yog SSH, uas yuav tso cai rau koj nkag mus rau lub davhlau ya nyob twg. Qhov thib ob yog remo
Cosmo Moos - Hloov Xim Txhua Lub Sijhawm Astronaut Nkag Mus Rau Qhov Chaw: 8 Kauj Ruam (nrog Duab)
Cosmo Moos - Hloov Xim Txhua Lub Sijhawm Astronaut Nkag Mus Rau Qhov Chaw: Nyob Zoo! Koj puas yog tus nyiam chaw? Yog tias yog ces hi-fi! Kuv nyiam chaw thiab astronomy. Pom tseeb kuv tsis yog tus kws tsav dav hlau mus rau ntawd thiab saib ze rau ntiaj teb. Tab sis txhua lub sijhawm kuv pom tias ib tus neeg hauv ntiaj teb tau mus saum ntuj, kuv tau txais kev tshoov siab
Qhov ntxim hlub thiab lom zem Qbit Los Txog: 9 Kauj Ruam
Qbit ntxim hlub thiab txaus luag tuaj: Yog tias koj txaus siab rau lub tsheb tshuav me me, tom qab ntawd koj nyob hauv qhov chaw raug. Lub npe tsheb yog Qbit. Nws tsuas muaj ob lub log uas tuaj yeem sib npaug tau zoo thiab nws zoo heev! Tam sim no peb tuaj yeem taw qhia rau Qbit, Hauv cov lus qhia no
Ua: NYC Cov Ntawv Sib Tw Nkag Nkag Los Ntawm Cov Qub GameBoy Tshuab Luam Ntawv: 14 Cov Kauj Ruam (nrog Duab)
Ua: NYC Cov Ntawv Sib Tw Nkag Nkag Los Ntawm Cov Qub GameBoy Tshuab Luam Ntawv: Nyob zoo txhua tus, nov yog kuv qhov kev txhaj tshuaj thib ob ntawm kev qhia paub .. ua siab zoo .. Yog li hauv zos Ua: NYC lub rooj sib tham tau muaj daim ntawv sib tw sib tw rau nws lub rooj sib tham zaum ob .. (txuas ntawm no) , qhov tseem ceeb ntawm kev sib tw yog ua kom muaj npe hnav/cim npe ntawm qee yam, ntawm qee cov ntaub ntawv