py-bottom-up-attention
py-bottom-up-attention copied to clipboard
Requires AMD ROCM to work (no hipcc found), merged from here into fb/detectron2 as solution
Problem
Tried Installing on a Linux GPU V100 cuda 10.1 machine with GLIBC 2.17 , This repo requires AMD ROCM (no hipcc found was the gcc error). AMD ROCM needs multiple dependencies which need GLIBC 2.22.
In the most recent detectron2 setup.py They have made ROCM optional.
Solution
I ported the changes in this repo to most recent detectron2 master (dated 21st June 2020, 0de7e8c) at here https://github.com/faizanahemad/detectron2.git . This removes ROCM need and also updates Detectron2. See demo/demo_caffe_frcnn_feature_extraction_attr.py or demo/demo_caffe_frcnn_feature_extraction_attr.ipynb for feature extraction for LXMERT.
Install as python -m pip install 'git+https://github.com/faizanahemad/detectron2.git'