Skip to content

Commit 0447346

Browse files
committed
Initial commit: clean slate as of 2025-09-16
0 parents  commit 0447346

33 files changed

+2793
-0
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## Describe the bug / feature request
2+
3+
**Environment:**
4+
- Python:
5+
- OS:
6+
- GPU/CPU:
7+
- PyTorch:
8+
9+
**Steps to Reproduce / Desired Behavior:**
10+
1.
11+
2.
12+
3.
13+
14+
**Logs / Screenshots:**
15+
```
16+
<paste here>
17+
```

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## Summary
2+
Describe the change.
3+
4+
## Checklist
5+
- [ ] Tests added/updated
6+
- [ ] Lint passes (`ruff`, `black`)
7+
- [ ] Docs updated (if needed)

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main, master ]
6+
pull_request:
7+
branches: [ main, master ]
8+
9+
jobs:
10+
build-test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-python@v5
15+
with:
16+
python-version: "3.11"
17+
- name: Install dependencies
18+
run: |
19+
python -m pip install --upgrade pip
20+
pip install -r requirements.txt --index-url https://download.pytorch.org/whl/cpu
21+
pip install -r dev-requirements.txt
22+
- name: Lint
23+
run: |
24+
ruff check .
25+
black --check .
26+
- name: Tests
27+
run: |
28+
pytest -q

.gitignore

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Byte-compiled / cache
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# Virtual environments
7+
.venv/
8+
venv/
9+
10+
# Results and artifacts
11+
results/
12+
13+
# Audio files (large assets)
14+
*.wav
15+
16+
# OS / IDE files
17+
.vscode/
18+
.DS_Store
19+
Thumbs.db
20+
.idea/
21+
22+
# GitHub specific
23+
.github/
24+
25+
# Testing
26+
tests/

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Changelog
2+
3+
## 1.0.1 — 2025-09-12
4+
- Fix single-GPU embedding to return CPU tensors (prevents GPU OOM and .numpy() errors).
5+
- Add GPU→CPU fallback in diffusion maps when CUDA OOM occurs.
6+
- Add robust import and fallback for `scipy.optimize.linear_sum_assignment`.
7+
- Clamp audio after loudness normalization and silence benign pyloudnorm warnings.
8+
- Introduce experiment logger writing to `experiment.log`.
9+
- Add GitHub repo auxiliary files and CI.

CITATION.cff

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
cff-version: 1.2.0
2+
title: "MAPSS: Manifold-based Assessment of Perceptual Source Separation"
3+
message: "If you use this software, please cite it as below."
4+
authors:
5+
- family-names: "Ivry"
6+
given-names: "Amir"
7+
- family-names: "Cornell"
8+
given-names: "Samuele"
9+
- family-names: "Watanabe"
10+
given-names: "Shinji"
11+
version: "1.0.0"
12+
date-released: "2025-09-11"
13+
identifiers:
14+
- type: "arxiv"
15+
value: "2509.09212v1"
16+
- type: "doi"
17+
value: "10.48550/arXiv.2509.09212"
18+
keywords:
19+
- "source separation"
20+
- "perceptual metric"
21+
- "audio signal processing"
22+
- "self-supervised learning"
23+
- "manifold learning"
24+
homepage: "https://arxiv.org/abs/2509.09212v1"
25+
license: "CC-BY-4.0"

CODE_OF_CONDUCT.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Code of Conduct
2+
3+
We are committed to a welcoming and inclusive community. Be respectful,
4+
assume good intent, and collaborate constructively. Harassment or
5+
discrimination is not tolerated.

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
1.36 KB
Binary file not shown.

0 commit comments

Comments
 (0)