This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 376
error: ‘AT_CHECK’ was not declared in this scope #97
Comments
abahnasy
added a commit
to abahnasy/votenet
that referenced
this issue
Oct 21, 2020
thanks |
EricWiener
added a commit
to EricWiener/votenet
that referenced
this issue
Dec 12, 2020
This resolves issue facebookresearch#97
You're welcome, and I'll close this one. |
You're welcome, and I'll close this one. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, I met a problem and have solved it. Hope it helps those meeting the same problems.
Environments:
Ubuntu 16.04
Pytorch 1.6.0
Problem description:
Error comes out when running :
cd pointnet2
python setup.py install
_ext_src/include/utils.h:17:66: error: ‘AT_CHECK’ was not declared in this scope
AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
Solve Methods:
Replace the function names "AT_CHECK" to "AT_ASSERT" of the files under ./pointcloud2/.
All the files are shown as below. Recommend using VSCode to replace all of them at once.
References:
#83
erikwijmans/Pointnet2_PyTorch@1d5dca2
The text was updated successfully, but these errors were encountered: