- MobilenetV1-128
- 4 Custom networks
See DORY folder for all the requirements. gap_sdk and python packages
The execution of the dory example requires the following folders:
- dory_example: contains examples to launch DORY.
- dory: repository with the framework (submodule of dory_exampe)
Execute the following commands to clone all
git clone https://github.com/pulp-platform/dory_examples
Before continuing, update the modules to the latest working version. Refer to the following branches as the most updated:
- dory_example --> master
- dory --> master
network_generate.py: generate files for a whole network. The file can be directly executed with:
python3 network_generate.py
Input example networks are included in the Test_suite_DORY folder. Folder application contains the whole application to be executed on the GAP8 platform.
There are many parameters that you can specify in the network_generate.py. Use
python3 network_generate.py -h
to see all the parameters which can be specified.
Logs files are produced inside logs folder, with network parsed and layers tiling.
First, source in the gap_sdk the gapv2
source sourceme.sh
Execute the following commands to generate the files and test a network on gvsoc with the latest version of GAP8 SDK.
python3 network_generate.py
cd application
make clean all run CORE=8 platform=gvsoc
The variable CORE define the number of the cores of the cluster used for parallelization. The default is 8 (the maximum number of cores inside the cluster of GAP8).
Some examples of files generation networks:
python3 network_generate.py --network_dir './Test_suite_DORY/PenguiNet_32/' --Mobilenet_correction 0 --Bn_Relu_Bits 32
python3 network_generate.py --network_dir './Test_suite_DORY/PenguiNet_64/' --Mobilenet_correction 0 --Bn_Relu_Bits 64
python3 network_generate.py --network_dir './Test_suite_DORY/MobilenetV1/' --Mobilenet_correction 1 --Bn_Relu_Bits 32