naoto0804 / cross-domain-detection

Cross-Domain Weakly-Supervised Object Detection through Progressive Domain Adaptation [Inoue+, CVPR2018].
https://naoto0804.github.io/cross_domain_detection/
421 stars 77 forks source link

I've got a problem installing opencv in requirements #31

Closed Heermosi closed 4 years ago

Heermosi commented 4 years ago

I'm working on this in a docker and I tried, to install the required part from an anaconda pip where I got this

Collecting opencv-python==3.4.1.15 (from -r requirements.txt (line 11)) ERROR: Could not find a version that satisfies the requirement opencv-python==3.4.1.15 (from -r requirements.txt (line 11)) (from versions: none) ERROR: No matching distribution found for opencv-python==3.4.1.15 (from -r requirements.txt (line 11))

Can I use an alternative to this?

Heermosi commented 4 years ago

Solved, I got this report when I typed something like this

pip install --install-option="--prefix=/workspace/cross-domain-detection" -r requirements.txt

It seems working when I altered to use --target option

naoto0804 commented 4 years ago

Thank you for your interest in this repo, and glad to hear that you solved the issue!