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
Add a column of data #71
Comments
Hello @xuV2 . If one needs to add more channels (or modify the number of channels), these places below need to be modified: Line 127 in cad14fd
(2)change the hardcoded "4" channels into "5", from line 521-527 (or other number of channels if you want): CLOCs/second/pytorch/models/voxelnet.py Line 503 in cad14fd
(3)change the hardcoded "4" into "5" in CLOCs model: CLOCs/second/pytorch/models/fusion.py Line 27 in cad14fd
My apology to hardcoded these information. I'll update the repo later to remove these hardcoded value. |
Hello! @pangsu0613 First of all, thank you for your prompt reply. But I have changed the code you mentioned, but when the code runs to train.py(line 279) during training, it will still make mistakes.When I delete 279 lines, the code can be trained. |
The reason for the error is |
mixed_optimizer.step() should not be deleted. Could you show me the whole error message? |
Traceback (most recent call last): |
did you change the "4" at line 521 and line 524 in voxelnet.py? |
iou_test_tensor = iou_test_tensor.reshape(1, 5, 1, 900000) # 原来是4 |
could you delete all the files in the working directory (including the adam_optimizer-xxxx.tckpt and other files)? |
I'm sorry I don't have this ability. I'm just a novice.😭 |
when you run training in the terminal: |
感谢您的建议,我已经成功解决了我的问题,真的非常感谢您的建议! |
Hello! @pangsu0613 I read your paper(Fast-CLOCs), and I also added a column of data to your code, changing it from 1p4 to 1p5, but there is an error in my code( self.opt.step() in fastai_optim.py).RuntimeError: The size of tensor a (4) must match the size of tensor b (5) at non-singleton dimension 1.
The text was updated successfully, but these errors were encountered: