I am trying to install Facebook’s Detectron2 framework on a TX2 board, which has latest Jetpack 4.2.
I managed to install pytorch 1.4.0 with instructions from this post
But I am having trouble installing/building detectron2, using the instructions on build from source in https://github.com/facebookresearch/detectron2/blob/master/INSTALL.md
Anyone have a recipe to install Detectron2?
The error I get is
/usr/local/cuda-10.0/include/crt/host_config.h:129:2: error: #error – unsupported GNU version! gcc versions later than 7 are not supported!
#error – unsupported GNU version! gcc versions later than 7 are not supported!
error: command ‘/usr/local/cuda-10.0/bin/nvcc’ failed with exit status 1
I found this scary looking suggestion to install gcc v 7 just for nvcc to use
But I have to think there must be a better solution ??