Skip to content
Snippets Groups Projects
Commit 59fdaadc authored by Hashim Sharif's avatar Hashim Sharif
Browse files

Mergiong

parents 3b06fec8 88a677a7
No related branches found
No related tags found
No related merge requests found
# Environment setup
Add path to `libprotobuf.so` and `libnvdla_compiler.so` in LD_LIBRARY_PATH
......@@ -16,7 +15,7 @@ python3 /home/hsharif3/Gitlab/hpvm_release_nvdla/hpvm/build/tools/hpvm/tools/hpv
```
*NOTE*: by default hpvm-clang is configured to read calibration inputs from a `calib.txt` file plaed in the current build directoy (see main.py.in in hpvm-clang). By default, INT8 mode is usedm for testing modify main.py in build directory to use FP16 mode (easily configurable)
*NOTE*: by default hpvm-clang is configured to read calibration inputs from a `calib.txt` file plaed in the current build directoy (see main.py.in in hpvm-clang). Default compilation mode is INT8 - modify `main.py` in build directory to use FP16 mode (easily configurable)
# Running on EPOCHS chip
......@@ -30,6 +29,12 @@ ssh -q -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p 5506 root@
```
*password*: `openesp`
More instructions on EPOCHS chip here:
https://docs.google.com/document/d/1rQa6sIDKtYHGKmWg5bPROJ_FijDUnaVEWkckLWtpHFU/edit?usp=sharing
Running on EPOCHS chip:
......@@ -41,7 +46,13 @@ cd NV_NVDLA/
```
*NOTE* --normalize not neeed here -- input should be INT8
# Images to use for Testing
Images to use for testing under `/benchmarks/miniera-hpvm/data/images`
The ground truth class of the image is part of the file name. For instance, `*_1.jpg` indicates file with target class `1`.
# Frontend/Source changes required
......@@ -50,4 +61,10 @@ cd NV_NVDLA/
* Weights for FC layers need to be tranposed
* Modify paths to readTrainedWeights to pass constant file path -- use MODEL_PARAMS_STR as part of string
* Modify paths to readTrainedWeights to pass constant file path -- use MODEL_PARAMS_STR as part of string (see `miniera-hpvm.cpp` as example)
# Missing Support
** BatchNorm support missing (better to try on small example first)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment