-
Notifications
You must be signed in to change notification settings - Fork 18
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
Will you like me to optimize the code repo? #12
Comments
Great! |
Hello, After code optimization, I encountered an error "AttributeError: module 'torch' has no attribute 'argwhere'".
It looks like the problem of the torch.argwhere(). My version of pytorch is 1.8.0. What is your version of pytorch? Have you ever encountered the above problems? |
Update it to 1.13 might help. See: https://pytorch.org/docs/stable/generated/torch.argwhere.html |
Hello, Thank you for your timely reply. That is to say, there is no such function in the case of pytorch<1.13? Is there a backward compatible implementation? Because the version of pytorch1.13 may be too new and may not be a commonly used version. |
I remember pytorch added argwhere func in 1.11. You can roll back to the old version locally if you need. But it is very slow during training. |
你好,我也是报'火炬'没有属性'argwhere'”的错,然后我也在虚拟环境切换到pytorch1.12,然后pcdet得要重新编译,就装不上了,报的是pytorch太高的原因错,您是如何解决的 |
您的环境配置是什么样的 |
For lower version pytorch, use 'torch. nonzero' instead. You can view this answer #27 |
Hi, chaytonmin:
Thanks for your ideas in applying MAE to 3D object detection in CP. I checked your code and noticed that some parts can be replaced by functions in torch. For example, the line 165-170 in voxel_mae.py. It may accelerate the training speed If you like, I can publish the code into your repo.
Best
The text was updated successfully, but these errors were encountered: