Closed HireTheHero closed 1 year ago
In addition, according to the official document, looks like detectron2==0.1 is incompatible with torch==0.6?
The former is installed by cd vilio/py-bottom-up-attention; python setup.py build develop
via cloned detectron2 source, while the latter is required by top-directory requirements.txt.
If this version requirement is not strict, upgrading detectron2 to later version or downgrading torch to 1.4 would be helpful I guess.
FYI error shows something like "ImportError: cannot import name '_C'".
together with Undefined C++ symbols (e.g. "GLIBCXX..") or C++ symbols not found.
- see the official q/a
Also, for detectron2 import error I needed to copy detectron2_mscoco_proposal_maxnms.py
to different location and change the argument of hm_feats.bash
pointing that python script to new path. Refer to aforementioned official detectron2 q/a
Decided to use module-friendly environment
summary
1.14.2
to1.14.5
in ernie-vil requirements work with the modules?details
to reproduce
No matching distribution found
for torch showsnotes