I am deploying a tracking algorithm named SiamGAT: https://github.com/ohhhyeahhh/SiamGAT
I have converted the network to onnx model successfully, which is provided in:
链接: https://pan.baidu.com/s/1rcSpzW62soM3_SDxJXPDEg 提取码: x4s9
However, when i use "hb_mapper" to check the model, an error appears:
hb_mapper checker --model-type onnx --march bernoulli2 --model SiamGAT.onnx --input-shape input1 1x3x127x127 --input-shape input2 1x3x287x287
hb_mapper_checker.log is in the attached file.
I have located the problem in onnx model:

The problem appears after input3(a bbox reshaped to 1x4x1x1) enters the network. The bbox is used as index to extract roi from a tensor:
The error about "int64" occurs because i use "long" tensor:
I have tried to change ".long()" to ".int()", but onnx model cannot be generated in this way because:
to perform as an index, roi must be "int64" in onnx
The model which error appears in is provided in attached file.


