microsoft / Relation-Aware-Global-Attention-Networks

We design an effective Relation-Aware Global Attention (RGA) module for CNNs to globally infer the attention.
MIT License
341 stars 65 forks source link

ERROR: Could not find a version that satisfies the requirement torch==0.4.0 #14

Closed JackStig closed 3 years ago

JackStig commented 3 years ago

when I run $ pip install -r requirements.txt something went wrong

ERROR: Could not find a version that satisfies the requirement torch==0.4.0 (from -r requirements.txt (line 9)) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2, 1.4.0, 1.5.0, 1.5.1, 1.6.0, 1.7.0, 1.7.1) ERROR: No matching distribution found for torch==0.4.0 (from -r requirements.txt (line 9))

I try to install with pip install torch==1.7.1+cu110 torchvision==0.8.2+cu110 torchaudio===0.7.2 -f https://download.pytorch.org/whl/torch_stable.html,can somebody tell me what does 0.4.0 mean?

JackStig commented 3 years ago

when I run$ bash ./scripts/run_rgasc_cuhk03.sh it doesn't start

(base) wys@T640:~/WorkSpace/Relation-Aware-Global-Attention-Networks$ bash ./scripts/run_rgasc_cuhk03.sh ./logs/RGA-SC/cuhk03labeled_b64f2048 not exists!!! Begin to train. Begin to test. (base) wys@T640:~/WorkSpace/Relation-Aware-Global-Attention-Networks$

I don't know if it is related to this ERROR.

JackStig commented 3 years ago

Python version caused this problem.