Muennighoff / vilio

🥶Vilio: State-of-the-art VL models in PyTorch & PaddlePaddle
https://arxiv.org/abs/2012.07788
MIT License
89 stars 29 forks source link

Package version issues #10

Closed HireTheHero closed 1 year ago

HireTheHero commented 2 years ago

summary

HireTheHero commented 2 years 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

HireTheHero commented 2 years ago

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

HireTheHero commented 2 years ago

FastRCNNOutputs was removed in detectron2 0.6. In my case downgraded to 0.5. Also, transform_gen should be replaced with aug to use with 0.5/0.6 (reference)

HireTheHero commented 1 year ago

Decided to use module-friendly environment