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

我在训练的时候遇到如下问题,请问怎么解决呢? #6

Open
MC-CV opened this issue Jul 13, 2021 · 1 comment
Open

Comments

@MC-CV
Copy link

MC-CV commented Jul 13, 2021

File "train.py", line 198, in
main()
File "train.py", line 170, in main
merge_all_iters_to_one_epoch=args.merge_all_iters_to_one_epoch
File "/data-input/3DSSD-pytorch-openPCDet/tools/train_utils/train_utils.py", line 93, in train_model
dataloader_iter=dataloader_iter
File "/data-input/3DSSD-pytorch-openPCDet/tools/train_utils/train_utils.py", line 40, in train_one_epoch
loss.backward()
File "/opt/conda/lib/python3.7/site-packages/torch/tensor.py", line 166, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph)
File "/opt/conda/lib/python3.7/site-packages/torch/autograd/init.py", line 99, in backward
allow_unreachable=True) # allow_unreachable flag
RuntimeError: Expected isFloatingType(grads[i].type().scalarType()) to be true, but got false. (Could this error message be improved? If so, please report an enhancement request to PyTorch.)

python = 3.7
pytorch = 1.3.1
cuda = 10.0.130
cudnn = 7.6.3
spconv = 1.2.1

@3623687277
Copy link

same error,any answers?

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

2 participants