Renziglov:

AttributeError: ‘Model’ object has no attribute ‘state_dict


Hi, after
model = core.Model.load("Paramecium.pth", ["Paramecium", "Noise"])
could you try this line,
torch.onnx.export(model.get_internal_model(), dummy_input, "from_onnx.onnx")  ?