You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs for refers to resnet18_quant.py as this generates reference results. It seems not to be present in the repo. More specifically, I am looking for how to dump the reference result of the quantized model. This in order to:
Crosscheck the reference result and the DPU inference result.
The script does not seem to store reference results in the directory specified in the docs.
Can I request an update to the docs for the PyTorch version of this step?
4. Generate the DPU inference result by running the following command to generate the DPU inference result and compare the DPU inference result with the reference data automatically.
env XLNX_ENABLE_DUMP=1 XLNX_ENABLE_DEBUG_MODE=1 XLNX_GOLDEN_DIR=./dump_gpu/dump_results_0 \
xdputil run ./compile_model/resnet_v1_50_tf.xmodel \
./dump_gpu/dump_results_0/input_aquant.bin \
2>result.log 1>&2
Activity
adriantre commentedon Jan 5, 2023
Found the file in the main repo.
https://github.com/Xilinx/Vitis-AI/blob/master/src/Vitis-AI-Quantizer/vai_q_pytorch/example/resnet18_quant.py
The script does not seem to store reference results in the directory specified in the docs.
Can I request an update to the docs for the PyTorch version of this step?