diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/src/README.md b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/src/README.md index 2165fd454c1002d90f62a98e204f546ded42e354..6b55d56174599eea690b8942a025ddeffc3ed6fd 100644 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/src/README.md +++ b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/src/README.md @@ -1,4 +1,3 @@ - # 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)