Check failed: x->dtype == y->dtype (float32 vs. float64)

Every time I try to load my onnx model I get the following error:

Check failed: x->dtype == y->dtype (float32 vs. float64) : x and y must have the same dtype: float32 vs float64

My code to load: shape_dict = {“input”: (1,18)} dtype_dict = {“input”: “float32”} onnx_model = onnx.load(PATH_ONNX_MODEL) mod, params = relay.frontend.from_onnx(onnx_model, shape_dict,dtype=dtype_dict,opset=13,freeze_params=False)

Any ideas on how to fix this?