YuanGongND / ssast

Code for the AAAI 2022 paper "SSAST: Self-Supervised Audio Spectrogram Transformer".

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Which python version are you using?

antoinecomp opened this issue · comments

Which python version are you using?
Because with python 3.7 I have:

#0 147.0 Collecting torch==1.9.0
#0 147.0   Downloading torch-1.9.0-cp37-cp37m-manylinux2014_aarch64.whl (49.1 MB)
#0 195.3      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 49.1/49.1 MB 1.6 MB/s eta 0:00:00
#0 195.6 ERROR: Ignored the following versions that require a different python version: 0.40.0 Requires-Python >=3.8; 0.40.0rc1 Requires-Python >=3.8; 0.40.1 Requires-Python >=3.8; 0.40.1rc1 Requires-Python >=3.8; 0.41.0 Requires-Python >=3.8; 0.41.0rc1 Requires-Python >=3.8; 0.57.0 Requires-Python >=3.8; 0.57.0rc1 Requires-Python >=3.8; 0.57.1 Requires-Python >=3.8; 0.57.1rc1 Requires-Python >=3.8; 0.58.0 Requires-Python >=3.8; 0.58.0rc1 Requires-Python >=3.8; 0.58.0rc2 Requires-Python >=3.8; 1.1.0 Requires-Python >=3.8; 1.1.1 Requires-Python >=3.8; 1.1.2 Requires-Python >=3.8; 1.1.3 Requires-Python >=3.8; 1.10.0 Requires-Python <3.12,>=3.8; 1.10.0rc1 Requires-Python <3.12,>=3.8; 1.10.0rc2 Requires-Python <3.12,>=3.8; 1.10.1 Requires-Python <3.12,>=3.8; 1.11.0 Requires-Python <3.13,>=3.9; 1.11.0rc1 Requires-Python <3.13,>=3.9; 1.11.0rc2 Requires-Python <3.13,>=3.9; 1.11.1 Requires-Python <3.13,>=3.9; 1.11.2 Requires-Python <3.13,>=3.9; 1.11.3 Requires-Python <3.13,>=3.9; 1.2.0 Requires-Python >=3.8; 1.2.0rc1 Requires-Python >=3.8; 1.2.1 Requires-Python >=3.8; 1.2.2 Requires-Python >=3.8; 1.22.0 Requires-Python >=3.8; 1.22.1 Requires-Python >=3.8; 1.22.2 Requires-Python >=3.8; 1.22.3 Requires-Python >=3.8; 1.22.4 Requires-Python >=3.8; 1.23.0 Requires-Python >=3.8; 1.23.0rc1 Requires-Python >=3.8; 1.23.0rc2 Requires-Python >=3.8; 1.23.0rc3 Requires-Python >=3.8; 1.23.1 Requires-Python >=3.8; 1.23.2 Requires-Python >=3.8; 1.23.3 Requires-Python >=3.8; 1.23.4 Requires-Python >=3.8; 1.23.5 Requires-Python >=3.8; 1.24.0 Requires-Python >=3.8; 1.24.0rc1 Requires-Python >=3.8; 1.24.0rc2 Requires-Python >=3.8; 1.24.1 Requires-Python >=3.8; 1.24.2 Requires-Python >=3.8; 1.24.3 Requires-Python >=3.8; 1.24.4 Requires-Python >=3.8; 1.25.0 Requires-Python >=3.9; 1.25.0rc1 Requires-Python >=3.9; 1.25.1 Requires-Python >=3.9; 1.25.2 Requires-Python >=3.9; 1.26.0 Requires-Python <3.13,>=3.9; 1.26.0b1 Requires-Python <3.13,>=3.9; 1.26.0rc1 Requires-Python <3.13,>=3.9; 1.3.0 Requires-Python >=3.8; 1.3.0rc1 Requires-Python >=3.8; 1.3.1 Requires-Python >=3.8; 1.8.0 Requires-Python >=3.8,<3.11; 1.8.0rc1 Requires-Python >=3.8,<3.11; 1.8.0rc2 Requires-Python >=3.8,<3.11; 1.8.0rc3 Requires-Python >=3.8,<3.11; 1.8.0rc4 Requires-Python >=3.8,<3.11; 1.8.1 Requires-Python >=3.8,<3.11; 1.9.0 Requires-Python >=3.8,<3.12; 1.9.0rc1 Requires-Python >=3.8,<3.12; 1.9.0rc2 Requires-Python >=3.8,<3.12; 1.9.0rc3 Requires-Python >=3.8,<3.12; 1.9.1 Requires-Python >=3.8,<3.12; 1.9.2 Requires-Python >=3.8; 1.9.3 Requires-Python >=3.8; 3.6.0 Requires-Python >=3.8; 3.6.0rc1 Requires-Python >=3.8; 3.6.0rc2 Requires-Python >=3.8; 3.6.1 Requires-Python >=3.8; 3.6.2 Requires-Python >=3.8; 3.6.3 Requires-Python >=3.8; 3.7.0 Requires-Python >=3.8; 3.7.0rc1 Requires-Python >=3.8; 3.7.1 Requires-Python >=3.8; 3.7.2 Requires-Python >=3.8; 3.7.3 Requires-Python >=3.8; 3.8.0 Requires-Python >=3.9; 3.8.0rc1 Requires-Python >=3.9
#0 195.6 ERROR: Could not find a version that satisfies the requirement torchaudio==0.9.0 (from versions: 0.10.0, 0.10.1, 0.10.2, 0.11.0, 0.12.0, 0.12.1, 0.13.0, 0.13.1)
#0 195.6 ERROR: No matching distribution found for torchaudio==0.9.0
#0 195.9 
#0 195.9 [notice] A new release of pip is available: 23.0.1 -> 23.2.1
#0 195.9 [notice] To update, run: pip install --upgrade pip
------
Dockerfile:11
--------------------
   9 |     
  10 |     # Installez les packages requis spécifiés dans requirements.txt
  11 | >>> RUN pip install -r requirements.txt
  12 |     
  13 |     # Exposez le port 80 pour permettre la communication avec le conteneur
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install -r requirements.txt" did not complete successfully: exit code: 1

With python 3.8 I have:

#0 155.6   Downloading torch-1.9.0-cp38-cp38-manylinux2014_aarch64.whl (49.0 MB)
#0 194.1      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 49.0/49.0 MB 1.2 MB/s eta 0:00:00
#0 194.4 ERROR: Ignored the following versions that require a different python version: 1.11.0 Requires-Python <3.13,>=3.9; 1.11.0rc1 Requires-Python <3.13,>=3.9; 1.11.0rc2 Requires-Python <3.13,>=3.9; 1.11.1 Requires-Python <3.13,>=3.9; 1.11.2 Requires-Python <3.13,>=3.9; 1.11.3 Requires-Python <3.13,>=3.9; 1.25.0 Requires-Python >=3.9; 1.25.0rc1 Requires-Python >=3.9; 1.25.1 Requires-Python >=3.9; 1.25.2 Requires-Python >=3.9; 1.26.0 Requires-Python <3.13,>=3.9; 1.26.0b1 Requires-Python <3.13,>=3.9; 1.26.0rc1 Requires-Python <3.13,>=3.9; 3.8.0 Requires-Python >=3.9; 3.8.0rc1 Requires-Python >=3.9
#0 194.4 ERROR: Could not find a version that satisfies the requirement torchaudio==0.9.0 (from versions: 0.10.0, 0.10.1, 0.10.2, 0.11.0, 0.12.0, 0.12.1, 0.13.0, 0.13.1, 2.0.0, 2.0.1, 2.0.2, 2.1.0)
#0 194.4 ERROR: No matching distribution found for torchaudio==0.9.0
#0 194.7 
#0 194.7 [notice] A new release of pip is available: 23.0.1 -> 23.2.1
#0 194.7 [notice] To update, run: pip install --upgrade pip
------
Dockerfile:11
--------------------
   9 |     
  10 |     # Installez les packages requis spécifiés dans requirements.txt
  11 | >>> RUN pip install -r requirements.txt
  12 |     
  13 |     # Exposez le port 80 pour permettre la communication avec le conteneur
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install -r requirements.txt" did not complete successfully: exit code: 1

And 3.9:

#0 99.26 ERROR: Ignored the following versions that require a different python version: 0.52.0 Requires-Python >=3.6,<3.9; 0.52.0rc3 Requires-Python >=3.6,<3.9
#0 99.26 ERROR: Could not find a version that satisfies the requirement torchaudio==0.9.0 (from versions: 0.10.0, 0.10.1, 0.10.2, 0.11.0, 0.12.0, 0.12.1, 0.13.0, 0.13.1, 2.0.0, 2.0.1, 2.0.2, 2.1.0)
#0 99.26 ERROR: No matching distribution found for torchaudio==0.9.0
#0 99.53 
#0 99.53 [notice] A new release of pip is available: 23.0.1 -> 23.2.1
#0 99.53 [notice] To update, run: pip install --upgrade pip
------
Dockerfile:11
--------------------
   9 |     
  10 |     # Installez les packages requis spécifiés dans requirements.txt
  11 | >>> RUN pip install -r requirements.txt
  12 |     
  13 |     # Exposez le port 80 pour permettre la communication avec le conteneur
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install -r requirements.txt" did not complete successfully: exit code: 1

I think we used python 3.7.4, and the versions of the packages are at https://github.com/YuanGongND/ssast/blob/main/requirements.txt