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
When running the build flow for MobileNet-V1 from FINN-examples, when the verification step "stitched_ip_rtlsim" is run, which happens at "step_create_stitched_ip", an error is thrown.
Details
The verification step "stitched_ip_rtlsim" was added to the build flow for MobileNet-V1, from the FINN-examples repository. When the build is run using Docker, once "step_create_stitched_ip" is reached, the following error is thrown:
It seems that the verification datatype is float, but is expected to be int64.
Looking at the intermediate ONNX models, it seems the issue is occurring in the LabelSelect node at the end of the model. Attached are screenshots from Netron showing the properties of the output tensor of the LabelSelect node for the different steps in the build flow:
step_hw_ipgen.onnx
step_set_fifo_depths.onnx
verify_step_stitched_rtlsim.onnx
It can be seen that at "step_hw_ipgen", the datatype is int64. The step right after it, "step_set_fifo_depths", appears to change the datatype to float32, and this change persists in the following step "step_create_stitched_ip", which causes the verification step "stitched_ip_rtlsim" to fail.
Quick summary
When running the build flow for MobileNet-V1 from FINN-examples, when the verification step "stitched_ip_rtlsim" is run, which happens at "step_create_stitched_ip", an error is thrown.
Details
The verification step "stitched_ip_rtlsim" was added to the build flow for MobileNet-V1, from the FINN-examples repository. When the build is run using Docker, once "step_create_stitched_ip" is reached, the following error is thrown:
It seems that the verification datatype is float, but is expected to be int64.
Looking at the intermediate ONNX models, it seems the issue is occurring in the LabelSelect node at the end of the model. Attached are screenshots from Netron showing the properties of the output tensor of the LabelSelect node for the different steps in the build flow:
step_hw_ipgen.onnx
step_set_fifo_depths.onnx
verify_step_stitched_rtlsim.onnx
It can be seen that at "step_hw_ipgen", the datatype is int64. The step right after it, "step_set_fifo_depths", appears to change the datatype to float32, and this change persists in the following step "step_create_stitched_ip", which causes the verification step "stitched_ip_rtlsim" to fail.
ONNX files:
mobilenetv1_onnx_files.zip
Steps to Reproduce
$FINN_ROOT/run-docker.sh build_custom . build
Expected behavior
The verification step was expected to complete and generate a verification output file, without throwing an error.
Actual behavior
The verification step throws an error, which then causes the build to fail and not generate a verification output file.
The text was updated successfully, but these errors were encountered: