Your detection2 lacks the necessary code for building, which can cause errors such as/home/dgp/code/PLU/detection2/layers/csrc/vision. cpp: 4:10: fatal error: ROIAlign/ROIAlign. h: No such file or directory
4 | # include "ROIAlign/ROIAlign. h"
|^~~~~
Compilation terminated
Error: command '/usr/bin/gcc' failed with exit code 1
Detectron2 was only successfully installed after I added the necessary code!
Your detection2 lacks the necessary code for building, which can cause errors such as/home/dgp/code/PLU/detection2/layers/csrc/vision. cpp: 4:10: fatal error: ROIAlign/ROIAlign. h: No such file or directory
4 | # include "ROIAlign/ROIAlign. h"
|^
~~~~Compilation terminated
Error: command '/usr/bin/gcc' failed with exit code 1
Detectron2 was only successfully installed after I added the necessary code!