Skip to content

create soc-sdk/tpu-nntc and install debs based on release directory

Notifications You must be signed in to change notification settings

sambios/sophon-sdk-init-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

sophon-sdk-init-scripts

create soc-sdk/tpu-nntc and install debs based on release directory.
This program is tested on ubuntu20.04
SophonSDK based on libncurses5-dev, you should install it at first.
$ sudo apt install libncurses-dev

Usage

  1. show help information

$ python3 main.py --help

  1. Install libsophon,ffmpeg, opencv and tpu-nntc modules
python3 main.py -o x86_64 -p Release_221201-public -i sgnnsdk
  1. If you want to install soc sdk for cross compile, you should add -s or --install-soc-sdk option to command line, like this:
python3 main.py -o x86_64 -p Release_221201-public -i sgnnsdk --install-soc-sdk
  1. After install, the tree of install directory will be like this:
..
├── soc-sdk
│   └── opt
│       └── sophon
│           ├── driver-0.4.4
│           ├── libsophon-0.4.4
│           ├── libsophon-current -> libsophon-0.4.4
│           ├── sophon-ffmpeg_0.5.1
│           ├── sophon-ffmpeg-current -> sophon-ffmpeg_0.5.1
│           ├── sophon-opencv_0.5.1
│           ├── sophon-opencv-current -> sophon-opencv_0.5.1
│           ├── sophon-sample_0.5.1
│           └── sophon-sample-current -> sophon-sample_0.5.1
└── tpu-nntc
    ├── bin
    ├── doc
    ├── include
    ├── kernel
    ├── lib
    ├── scripts
    └── wheel
    ...
  1. Enjoy!

About

create soc-sdk/tpu-nntc and install debs based on release directory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages