Toybrick EN

Title: [Latest Version] [1.3.2] rknn-toolkit & rknn-api for Toybrick [Print this page]

Author: toybrick    Time: 2020-7-17 15:09
Title: [Latest Version] [1.3.2] rknn-toolkit & rknn-api for Toybrick
rknn-toolkit-1.3.2

1. Baidu Clound: https://eyun.baidu.com/s/3eTG3VsY   (pwd:rknn)
2. Onedrive:
https://rockchips-my.sharepoint.com/:f:/g/personal/addy_ke_rockchips_onmicrosoft_com/EqA2UaDLbqxGrnmzHTiFO84BLjuXhBDp2CNMAI11wQcpTA?e=3kI4ks
3. Github: https://github.com/rockchip-linux/rknn-toolkit
4. pip3 install (<- suggestion in toybrick board)

(Toybrick Only) Create a new config file (it is already exsited in latest debian10):   /etc/pip.conf
  1. [global]
  2. extra-index-url = [url]http://repo.rock-chips.com/pypi/simple[/url]
  3. trusted-host = repo.rock-chips.com
Copy the Code


Depandency install (e.g. debian10):
  1. sudo apt install cmake python3-scipy python3-h5py libprotobuf-dev protobuf-compiler zlib1g-dev libjpeg-dev python3-dev python3-opencv
Copy the Code


Install tensorflow 1.14.0 for debian aarch64 or 1.10.0 for fedora aarch64:
  1. pip3 install --user -U tensorflow==1.14.0
Copy the Code


Install rknn toolkit:

RK3399Pro (Toybrick Only):
  1. pip3 install --user -U rknn
Copy the Code

RK1808 (Computer Strick):
  1. pip3 install --user -U rknn1808
Copy the Code



rknn-api-1.3.2

1. Baidu Cloud: https://eyun.baidu.com/s/3jJe2bzw
2. One Drive: https://rockchips-my.sharepoint. ... adYS0zqGrA?e=YxxIzo
3. apt update ; apt install (<- debian10 suggestion)

rk3399pro:
  1. sudo apt install rknn-rk3399pro
  2. (or)
  3. sudo dnf install rknn-rk3399pro
Copy the Code

rk1808 computer stric:
  1. sudo apt install rknn-rk1808
  2. (or)
  3. sudo dnf install rknn-rk1808
Copy the Code

OR:
  1. sudo apt update -y
Copy the Code


Change Logs:

1. fix rknn init time too long issues.
2. support pytorch & mxnet model.
3. support 4 channel model.
4. add loss analysing.
5. add UI for model preview.
6. support setup optimizing level.
7. update hybrid quantization.
(more details please see documents.)

Version Check:

Check correct version before  running rknn:
RKNNAPI:   API: 1.3.0
RKNNAPI:   DRV: 1.3.0 (OR 1.3.1)


Other Versions:

rknn-toolkit-1.2.1:
1. Baidu Clound: https://eyun.baidu.com/s/3nwnPxsX        
       All Version:https://eyun.baidu.com/s/3eTG3VsY   (pwd:rknn)
2. OneDrive: https://rockchips-my.sharepoint. ... 51uOSMgTgw?e=3WU7Tk

rknn-api-1.2.0:
1. Baidu Cloud: https://eyun.baidu.com/s/3pMD3FCZ
2. One Drive: https://rockchips-my.sharepoint. ... QvqhFT5GfQ?e=qFcYok
3. dnf/apt install (<- suggestion)


Older Version:
http://t.rock-chips.com/forum.php?mod=viewthread&tid=114&extra=page%3D1













Welcome to Toybrick EN (https://t.rock-chips.com/en/) Powered by Discuz! X3.3