I encountered segmentation fault when quantizing the following ssd models:
'ssd_512_resnet50_v1_voc',
'ssd_512_resnet50_v1_coco',
'ssd_512_resnet101_v2_voc',
'ssd_512_mobilenet1.0_voc',
'ssd_512_mobilenet1.0_coco',
I found the error occurs at
prerequisite_optimize(mod, params=None)
in
tvm/relay/quantize.quantize.py
More specifically, the error is caused by
_transform.SimplifyInference()
, which calls the C++ function
Expr SimplifyInference(const Expr& e) { return InferenceSimplifier().Mutate(e); }
in
src/relay/transforms/simplify_inference.cc
I’m not sure how to debug from here as I’m not very familiar with C++. Any help is appreciated.