Hi, thanks for sharing this work. I met severe pip installment conflicts that prevent me from installing some necessary packages. I used a new conda environment to install packages. The error message is shown below:
ERROR: Cannot install -r requirements.txt (line 18), -r requirements.txt (line 22) and -r requirements.txt (line 8) because these package versions have conflicting dependencies.
The conflict is caused by:
vision-aided-loss 0.1.0 depends on torch>=1.8.0
torchmetrics 0.2.0 depends on torch>=1.3.1
clip-by-openai 1.1 depends on torch<1.7.2 and >=1.7.1
vision-aided-loss 0.1.0 depends on torch>=1.8.0
torchmetrics 0.2.0 depends on torch>=1.3.1
clip-by-openai 1.0.1 depends on torch<1.7.2 and >=1.7.1
vision-aided-loss 0.1.0 depends on torch>=1.8.0
torchmetrics 0.2.0 depends on torch>=1.3.1
clip-by-openai 0.1.1.5 depends on torch==1.7.1
vision-aided-loss 0.1.0 depends on torch>=1.8.0
torchmetrics 0.2.0 depends on torch>=1.3.1
clip-by-openai 0.1.1.4 depends on torch==1.7.1
vision-aided-loss 0.1.0 depends on torch>=1.8.0
torchmetrics 0.2.0 depends on torch>=1.3.1
clip-by-openai 0.1.1.3 depends on torch==1.7.1
vision-aided-loss 0.1.0 depends on torch>=1.8.0
torchmetrics 0.2.0 depends on torch>=1.3.1
clip-by-openai 0.1.1.2 depends on torch==1.7.1
vision-aided-loss 0.1.0 depends on torch>=1.8.0
torchmetrics 0.2.0 depends on torch>=1.3.1
clip-by-openai 0.1.1 depends on torch==1.7.1
vision-aided-loss 0.1.0 depends on torch>=1.8.0
torchmetrics 0.2.0 depends on torch>=1.3.1
clip-by-openai 0.1.0 depends on torch==1.7.1
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
I followed the recommendation 2. and removed package versions, but pip
still failed to solve the dependency conflict:
ERROR: Cannot install -r requirements.txt (line 18), -r requirements.txt (line 22) and -r requirements.txt (line 8) because these package versions have conflicting dependencies.
The conflict is caused by:
vision-aided-loss 0.1.0 depends on torch>=1.8.0
torchmetrics 0.2.0 depends on torch>=1.3.1
clip-by-openai 1.1 depends on torch<1.7.2 and >=1.7.1
vision-aided-loss 0.1.0 depends on torch>=1.8.0
torchmetrics 0.2.0 depends on torch>=1.3.1
clip-by-openai 1.0.1 depends on torch<1.7.2 and >=1.7.1
vision-aided-loss 0.1.0 depends on torch>=1.8.0
torchmetrics 0.2.0 depends on torch>=1.3.1
clip-by-openai 0.1.1.5 depends on torch==1.7.1
vision-aided-loss 0.1.0 depends on torch>=1.8.0
torchmetrics 0.2.0 depends on torch>=1.3.1
clip-by-openai 0.1.1.4 depends on torch==1.7.1
vision-aided-loss 0.1.0 depends on torch>=1.8.0
torchmetrics 0.2.0 depends on torch>=1.3.1
clip-by-openai 0.1.1.3 depends on torch==1.7.1
vision-aided-loss 0.1.0 depends on torch>=1.8.0
torchmetrics 0.2.0 depends on torch>=1.3.1
clip-by-openai 0.1.1.2 depends on torch==1.7.1
vision-aided-loss 0.1.0 depends on torch>=1.8.0
torchmetrics 0.2.0 depends on torch>=1.3.1
clip-by-openai 0.1.1 depends on torch==1.7.1
vision-aided-loss 0.1.0 depends on torch>=1.8.0
torchmetrics 0.2.0 depends on torch>=1.3.1
clip-by-openai 0.1.0 depends on torch==1.7.1
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts