You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
❓ Questions and Help
thanks to facebook-maskrcnn_benchmark
go to Alan.D.Chen
I get a problem 'error: command 'gcc' failed with exit status 1', when I go with:
install apex
cd $INSTALL_DIR
git clone https://github.com/NVIDIA/apex.git
cd apex
python setup.py install --cuda_ext --cpp_ext
..........
/home/alanc/anaconda3/envs/maskrcnn_benchmark/lib/python3.7/site-packages/torch/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
return VA_ARGS();
^~~~~~~~~~~
csrc/mlp.cpp:123:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES_AND_HALF’
AT_DISPATCH_FLOATING_TYPES_AND_HALF(inputs[0].type(), "mlp_backward", [&] {
^
csrc/mlp.cpp:149:37: error: expected primary-expression before ‘>’ token
work_space.data_ptr<scalar_t>(),
^
csrc/mlp.cpp:123:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES_AND_HALF’
AT_DISPATCH_FLOATING_TYPES_AND_HALF(inputs[0].type(), "mlp_backward", [&] {
^
csrc/mlp.cpp:149:39: error: expected primary-expression before ‘)’ token
work_space.data_ptr<scalar_t>(),
^
/home/alanc/anaconda3/envs/maskrcnn_benchmark/lib/python3.7/site-packages/torch/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
return VA_ARGS();
^~~~~~~~~~~
csrc/mlp.cpp:123:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES_AND_HALF’
AT_DISPATCH_FLOATING_TYPES_AND_HALF(inputs[0].type(), "mlp_backward", [&] {
^
error: command 'gcc' failed with exit status 1
'
Python 3.7.6
pytorch 1.4.0 py3.7_cuda10.0.130_cudnn7.6.3_0 pytorch
pytorch-nightly 1.0.0.dev20190328 py3.7_cuda10.0.130_cudnn7.4.2_0 pytorch
torchvision 0.5.0 py37_cu100 pytorch
gcc version 7.3.0 (GCC)
The text was updated successfully, but these errors were encountered: