Skip to content

Commit

Permalink
Push code to public repo :)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-dawg78 committed Apr 17, 2024
0 parents commit 36ced74
Show file tree
Hide file tree
Showing 20 changed files with 6,189 additions and 0 deletions.
142 changes: 142 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
__pycache__/
*.tmp
*.pyc
.DS_Store
._*
.vscode/
core
.fuse_*

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# Ignore weights/ path
weights/
weights.zip
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# An Experimental Comparison of Multi-View Self-Supervised Methods for Music Tagging

by Gabriel Meseguer-Brocal, Dorian Desblancs, and Romain Hennequin
3,331 changes: 3,331 additions & 0 deletions poetry.lock

Large diffs are not rendered by default.

75 changes: 75 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
[tool.poetry]
name = "ssl_framework"
version = "0.0.1"
description = "Self-supervised benchmarks."
authors = ["Research <[email protected]>"]
readme = "README.md"
repository = "https://github.com/deezer/multi-view-ssl-benchmark"
homepage = "https://github.com/deezer/multi-view-ssl-benchmark"
classifiers = [
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Artistic Software",
"Topic :: Multimedia",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Sound/Audio :: Analysis",
"Topic :: Multimedia :: Sound/Audio :: Conversion",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development",
]
packages = [
{ include = "ssl_framework" },
]

[tool.poetry.dependencies]
python = "^3.9,<3.12"
torch = "2.1.*"
torchaudio = "2.1.*"
torchvision = "0.16.*"
tensorflow = "2.15.*"
transformers = "^4.34.0"

[tool.poetry.group.dev.dependencies]
tqdm = "4.65.*"
torchinfo = "1.7.*"
matplotlib = "3.7.*"
gin-config = "0.5.*"
GPUtil = "1.4.*"
einops = "0.6.*"
scipy = "1.10.*"
pandas = "1.5.*"
openpyxl = "3.1.*"
ipython = "8.12.*"
ujson = "5.7.*"
timm = "0.6.*"
hvac = "1.1.*"
audioread = "3.0.*"
torchmetrics = "0.11.*"
weightwatcher = "0.7.*"
Unidecode = "1.3.*"
mypy = "*"
ruff = "*"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.mypy]
strict = true

[tool.ruff]
line-length = 120

[tool.ruff.lint]
select = ["E741", "E742", "E743", "F", "I"]
ignore = ["T201", "T203"]
Empty file added ssl_framework/__init__.py
Empty file.
3 changes: 3 additions & 0 deletions ssl_framework/constants.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
MONO = True
DURATION = 4
SR = 16000
Loading

0 comments on commit 36ced74

Please sign in to comment.