background image

 

 

Page 12 of 32 

 

5  WEB configuration 

RK1808 AI compute stick supports system configuration  by web. How to access this 

configuration page and its main functions will be described below. 

5.1

 

The Host Network Configuration 

Windows 7/10 network configuration 

1.

 

Plug RK1808 AI compute stick

 

2.

 

Open the device manager

network adapter will display “Remote NDIS based Internet 

Sharing Device”. 

 

Notice: Some computer may have unrecognized devices, uninstall unrecognized devices, 

and wait for the RNDIS driver to reinstall. 

3.

 

Click Windows network and Internet Settings

Click “Ethernet”

  ->

 “Change adapter 

options”. 

Содержание RK1808

Страница 1: ...http t rock chips com en Page 1 of 32 RK1808 AI Compute Stick User manual V1 2 0 ...

Страница 2: ...TE STICK 9 5 WEB CONFIGURATION 12 5 1 THE HOST NETWORK CONFIGURATION 12 5 2 WEB LOGIN 17 5 3 INTRODUCTION OF MAIN FUNCTIONS OF WEB PAGES 18 6 SLAVE MODE DEVELOPMENT 25 7 MASTER MODE DEVELOPMENT 27 7 1 AI DEVELOPMENT PROCESS INTRODUCTION UNDER HOST MODE 28 7 2 DEVELOPMENT TOOL TOYBRICK_DEPLOYC 28 7 2 1 Development tool toybrick_deployc command list and command illustration 28 7 2 2 Development proc...

Страница 3: ...nce The Host can obtain powerful deep learning and inference ability through the RK1808AI compute stick With the powerful computing power of the RK1808 AI compute stick embedded devices can build AI algorithms on the edge of the network making it easy for traditional embedded devices to upgrade artificial intelligence RK1808 AI compute stick can be used to assist inference calculation and also sup...

Страница 4: ...cation Specification CPU RK1808 Memory 1GB LPDDR Storage 8GB EMMC Interface USB3 0 Type A Temperature 0 40 Size 82x31x13mm 2 1 Mini system requirement Ubuntu 16 04 or x86_64 PC CPU intel core i3 USB 3 0 2 GB RAM 4 GB Storage ...

Страница 5: ...inux Android_RKNN_API_CN pdf RKNN_Toolkit User_Guide_EN pdf RKNN Toolkit and python API user guide RKNN_Toolkit User_Guide_CN pdf RK1808_AI_Compute_Stick_User_manual_EN pdf RK1808 AI compute stick user manual RK1808_AI_Compute_Stick_User_manual_CN pdf RK1808_AI_Compute_Stick_Easy_Start_Demo_Guide_EN pdf The guide of Easy start yovov3 demo RK1808_AI_Compute_Stick_Easy_Start_Demo_Guide_CN pdf driver...

Страница 6: ...owing command lsusb 2 The execution result as shown below Bus 001 Device 001 ID 1d6b 0002 Linux Foundation 2 0 root hub Bus 003 Device 009 ID 2207 1800 4 2 RKNN Toolkit installation RKNN Toolkit is a software development kit for users to perform model conversion inference and performance evaluation base on python interface In this section we will show how to install RKNN Toolkit in a X86_64 PC wit...

Страница 7: ...oolkit must match with python version the default version for ubuntu18 04 is python3 6 5 Check whether the rknn toolkit has been successfully installed 1 Enter the following command python3 2 Enter the following code in python3 running environment to import RKNN module from rknn api import RKNN 1 If RKNN has been imported successfully python3 from rknn api import RKNN 2 Input quit quit from the Py...

Страница 8: ...rk1808_ai_cs_rule sh to tmp directory Modify update_rk1808_ai_cs_rule sh with executable permission 2 update_rk1808_ai_cs_rule sh must be executed with root authority sudo tmp update_rk1808_ai_cs_rule sh Notice This step only need to be executed once during installation and does not need to be executed later 2 After executing the script use the lsusb command to view the device number of the TB 180...

Страница 9: ...te stick Mobilenet_v1 can realize feature extraction of an image and identification of the classification of the image The mobilenet_v1 demo directory structure and description are as follow dataset txt a text file containing the test image path dog_224x224 jpg test image mobilenet_v1 tflite TensorFlow Lite model file mobilenet_v1 rknn rknn model file Generated by non rknn model there is TensorFlo...

Страница 10: ...st py config model done Loading model done Building model done Export RKNN model done Init runtime environment done Running model mobilenet_v1 TOP 5 156 0 8837890625 155 0 0677490234375 188 205 0 00867462158203125 188 205 0 00867462158203125 263 0 0057525634765625 done Begin evaluate model performance Performance Total Time us 7320 FPS 136 61 done According to the above execution results TOP5 repr...

Страница 11: ...be seen that the predicted result is the most likely for the dog From the test picture dog_224x224 jpg we can see that the prediction result is accurate Notice 1 Yolov3 easy start demo refer to RK1808 AI_Compute_Stick_Easy Start_Demo_Guide_EN pdf 2 For more detailed usage and interface instructions of the RKNN Toolkit please refer to RKNN Toolkit user guide _v1 1 0 ...

Страница 12: ...Network Configuration Windows 7 10 network configuration 1 Plug RK1808 AI compute stick 2 Open the device manager network adapter will display Remote NDIS based Internet Sharing Device Notice Some computer may have unrecognized devices uninstall unrecognized devices and wait for the RNDIS driver to reinstall 3 Click Windows network and Internet Settings Click Ethernet Change adapter options ...

Страница 13: ... 13 of 32 4 Right click Ethernet remote NDIS compatible device attribute Internet protocol version 4 attribute and configure the IP address and mask as shown below thus completing the network configuration ...

Страница 14: ...Page 14 of 32 5 Check the IP address ...

Страница 15: ...ke Ubuntu 18 04 as an example 1 Before inserting RK1808 AI compute stick open the terminal and enter the command ifconfig 2 Then insert RK1808 AI compute stick and enter the command ifconfig again you can find an extra with red box in the picture ...

Страница 16: ...ork find the new device with the same Mac address in step 2 and click the Settings icon in the upper right corner 4 According to the figure below select ipv4 select manually add a new IP 192 168 180 1 255 255 255 0 Finally Click apply to complete the network ...

Страница 17: ... can input http 192 168 180 8 in the browser And then into RK1808 AI compute stick Login page If you forget the password please click Forget Password Notice It will not only reset the password but also restore the RK1808 AI compute stick to factory Settings Please be careful ...

Страница 18: ...word to login default username and password are both toybrick and then enter the Home page 5 3 Introduction of Main Functions of WEB Pages 1 Home Displays the main system information and configuration information for RK1808 AI compute stick ...

Страница 19: ...Page 19 of 32 2 Work Mode The working mode is master or slave ...

Страница 20: ...2 3 USB Function RK1808 AI compute stick Usbfunction rndis ntb mass 4 Update Update Install RK1808 AI compute stick RPM resources 5 Password You can modify the login password here After the modification you need to ...

Страница 21: ...es that the modification is successful 6 Network RK1808 AI compute stick network configuration page will display the current IP gateway DNS information 7 Click the setting button to enter the configuration page and configure static IP gateway and DNS information ...

Страница 22: ...Page 22 of 32 8 If dhcp is checked the Host needs to be configured with bridging network Refer to the wiki for details on how to configure the Host with bridging network ...

Страница 23: ...te press the save button and click restart to take effect as prompted 10 Network RK1808 AI compute stick network configration Modify static ip gateway DNS information and provide dhcp switch use with master mode After the modification must reboot it ...

Страница 24: ...Page 24 of 32 11 Help RK1808 AI compute stick help information for web configuration ...

Страница 25: ...nd sends result back to the Host side the Host side does post processing display and other manipulations Slave mode development overall flowchart Slave mode data stream flowchart In slave mode we will provide python and C API for host programming When use Python programming you need install RKNN Toolkit in the Host RK1808 AI compute stick U disk directory have provided the RKNN Toolkit installatio...

Страница 26: ...EN pdf There are library files and header files for the Host C programming under RK1808 AI compute stick U disk directory rknn rknn api The detail instruction about C programming please refer to RK3399Pro_Linux Android_RKNN_API_EN pdf ...

Страница 27: ...ng then output processing result through USB to Host In order to make it convenient for users to transmit data through USB RK1808 AI computing stick will visualize USB port as standard devices such as network interface card Users only need to manipulate standard device for example network socket programming to accomplish input and output of data in computing stick RK1808 AI compute stick with fedo...

Страница 28: ... can develop and deploy C C or python active AI program in RK1808 AI compute stick 7 2 Development tool toybrick_deployc In order to facilitate customer development debugging and deployment we also provide a set of master mode development tools Master mode s development tool is toybrick_deployc which can only run on toybrick development platform The download address of toybrick development platfor...

Страница 29: ...date upgrade computing stick s system software package 4 toybrick_deployc P revise toybrick_deploy s login passward default one is toybrick Notice when executing toybrick_deployc command it is required to input login password forgetting password will cause that RK1808 AI compute stick cannot be used Install software package 1 toybrick_deployc install r xxxx inform computing stick to install specif...

Страница 30: ...onment variable toybrick_deployc set ip xxx xxx xxx xxx port yyy timeout zzz 1 xxx xxx xxx xxx set RK1808 AI compute stick s IP address the default is 192 168 180 8 2 yyy set RK1808 AI compute stick s service port the default is 18080 1 Set toybrick_deployc s connection overtime the default is 60s Illustration 1 means waiting until CTRL C force exit or receiving RK1808 AI compute stick s reply Pro...

Страница 31: ...eduled way to increase system stability For this step user should make their own choice whether it is updated When current system satisfies development requirement it does not need to update 4 RK1808 AI computing stick communicate with host machine through network socket programming host machine service program and RK1808 AI computing stick lower machine program through host mode development tool ...

Страница 32: ...stick and set the program start up 2 Plug RK1808 AI compute stick into the target device such as webcam equipment PC drone smart car etc 3 Running the Host service program in target device and display processing result 4 You can find the Yolov3 master mode demo in wiki More information about master mode development please log in the official forum http t rock chips com ...

Отзывы:

Похожие инструкции для RK1808