[Error] relay.frontend.from_onnx


#1

Hi all,
I’m getting error on “relay.frontend.from_onnx” function while loading shape dictionary of resnet model. I’ve generated the resnet18 onxx from pytorch pretrained model. Can anyone tell how to rectify the error?


#2

Modify your line 11:
shape_dict = {"input.1": resnet_input.shape}