Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why no chceckpoint issue is arising #25

Open
vijaykp23 opened this issue Apr 30, 2024 · 0 comments
Open

Why no chceckpoint issue is arising #25

vijaykp23 opened this issue Apr 30, 2024 · 0 comments

Comments

@vijaykp23
Copy link

working directory: /home/research/Documents/Pytorch/Nano_Drone/pulp-dronet-master/pulp-dronet-v2

Model name: model/dronet_v2_nemo_dory_original_himax.pth
CUDA/CPU device: cuda:0
pyTorch version: 1.6.0
You are testing on the himax dataset

loaded checkpoint on cuda
Failed to find the [state_dict] inside the checkpoint. I will try to open it anyways.
model tested: model/dronet_v2_nemo_dory_original_himax.pth evaluated on the: himax dataset
Test: 0%| | 0/7 [00:00<?, ?it/s]
Traceback (most recent call last):
File "testing.py", line 174, in
main()
File "testing.py", line 170, in main
testing(net, test_loader, device)
File "testing.py", line 86, in testing
outputs = model(inputs)
File "/home/research/anaconda3/envs/pulp-dronet-v2/lib/python3.8/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/research/Documents/Pytorch/Nano_Drone/pulp-dronet-master/pulp-dronet-v2/model/dronet_v2_nemo_dory.py", line 90, in forward
x = self.fc(x)
File "/home/research/anaconda3/envs/pulp-dronet-v2/lib/python3.8/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/research/anaconda3/envs/pulp-dronet-v2/lib/python3.8/site-packages/torch/nn/modules/linear.py", line 91, in forward
return F.linear(input, self.weight, self.bias)
File "/home/research/anaconda3/envs/pulp-dronet-v2/lib/python3.8/site-packages/torch/nn/functional.py", line 1676, in linear
output = input.matmul(weight.t())
RuntimeError: mat1 dim 1 must match mat2 dim 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant