runtime error

Exit code: 1. Reason: Traceback (most recent call last): File "/home/user/app/app.py", line 54, in <module> model.load_state_dict(torch.load("fruit_model.pth", map_location=torch.device("cpu"))) File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 2593, in load_state_dict raise RuntimeError( RuntimeError: Error(s) in loading state_dict for FruitYieldModel: Missing key(s) in state_dict: "linear.weight", "linear.bias". Unexpected key(s) in state_dict: "weight", "bias".

Container logs:

Fetching error logs...