dabnn icon indicating copy to clipboard operation
dabnn copied to clipboard

onn2bnn:terminate called after throwing an instance of 'std::out_of_range' what(): _Map_base::at Aborted (core dumped)

Open wayy13 opened this issue 4 years ago • 4 comments

terminate called after throwing an instance of 'std::out_of_range' what(): _Map_base::at Aborted (core dumped)

wayy13 avatar Sep 08 '21 08:09 wayy13

hi, did you solve your problem? I am facing the same issue.

xvyaward avatar Jan 28 '22 10:01 xvyaward

Hi, sorry to bother you, but I'd like to ask if you have solved this problem. I'm also facing the same problem but don't know where to start. It would be very appreciated if you can give me some suggestions.

hebangwen avatar May 02 '22 06:05 hebangwen

Hi, all. I've checked the pretrained models from README.md and found three attributes in the model properties: format-ONNXv3, producer-pytorch0.3, and imports-ai.onnxv6. Thus, the easiest way to use DABNN without this error is to downgrade your PyTorch version to 0.3. Or else, you need to fix the version incompatible bug between DABNN and ONNX.

hebangwen avatar May 02 '22 08:05 hebangwen

@BangwenHe This fixed it for me, thank you! Specifically, I used pytorch 0.4.1 and python 3.7.

travisdriver avatar Sep 19 '22 21:09 travisdriver