-
Notifications
You must be signed in to change notification settings - Fork 74
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
/SigmoidFocalLoss_cuda.cu error #42
Comments
This issue seems to be a duplicate of issue #28 . Please try the suggestions provided in the link #28 (comment). |
Mybe I can give u some help , you can try conda create -n alphaction python=3.8, Don't use python3.7. |
Thank you for quick reply! It helps, I updated the pytorch to version 1.3.0, the error disappeared. |
Thank your for suggestion. The main problem is the version pytorch 1.0.0 is not match to the code. Updating the pytorch works~ |
Computer shutting down is due to the power protection of GPU. I sovled this problem by set the limitation of GPU to 150w by using the command: |
when I run pip install -e . , there is something error. How to solve it ?
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(132): error: a pointer to a bound function may only be used to call the function
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(132): error: type name is not allowed
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(132): error: expected an expression
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(132): error: a pointer to a bound function may only be used to call the function
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(132): error: type name is not allowed
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(132): error: expected an expression
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(132): error: a pointer to a bound function may only be used to call the function
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(132): error: type name is not allowed
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(132): error: expected an expression
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(132): error: a pointer to a bound function may only be used to call the function
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(132): error: type name is not allowed
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(132): error: expected an expression
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(132): error: a pointer to a bound function may only be used to call the function
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(132): error: type name is not allowed
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(132): error: expected an expression
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(132): error: a pointer to a bound function may only be used to call the function
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(132): error: type name is not allowed
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(132): error: expected an expression
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(178): error: a pointer to a bound function may only be used to call the function
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(178): error: type name is not allowed
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(178): error: expected an expression
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(178): error: a pointer to a bound function may only be used to call the function
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(178): error: type name is not allowed
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(178): error: expected an expression
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(178): error: a pointer to a bound function may only be used to call the function
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(178): error: type name is not allowed
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(178): error: expected an expression
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(178): error: a pointer to a bound function may only be used to call the function
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(178): error: type name is not allowed
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(178): error: expected an expression
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(178): error: a pointer to a bound function may only be used to call the function
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(178): error: type name is not allowed
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(178): error: expected an expression
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(178): error: a pointer to a bound function may only be used to call the function
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(178): error: type name is not allowed
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(178): error: expected an expression
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(178): error: a pointer to a bound function may only be used to call the function
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(178): error: type name is not allowed
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(178): error: expected an expression
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(178): error: a pointer to a bound function may only be used to call the function
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(178): error: type name is not allowed
/home/action_detection/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu(178): error: expected an expression
42 errors detected in the compilation of "/tmp/tmpxft_000017b7_00000000-6_SigmoidFocalLoss_cuda.cpp1.ii".
error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1
The text was updated successfully, but these errors were encountered: