Rthur2003 Claude Opus 4.6 commited on
Commit
d33093c
·
1 Parent(s): 91e078e

fix: gitignore models/data and add logging to feature extraction

Browse files

- Add models/, data/, *.ckpt, *.pt, *.bin, *.pkl to .gitignore
- Remove large model files (1.7GB) from git tracking
- Add logger import to extract_features_batch.py

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

.gitignore CHANGED
@@ -72,16 +72,18 @@ temp/
72
  *.bak
73
  *.backup
74
 
75
- # Models and large files (keep for HF Spaces)
76
- # Uncomment if you want to ignore models locally
77
- # *.pth
78
- # *.pt
79
- # *.ckpt
80
- # *.safetensors
81
- # *.h5
82
- # *.pkl
 
83
 
84
- # Audio/Video files (if any during development)
 
85
  *.wav
86
  *.mp3
87
  *.flac
@@ -89,6 +91,9 @@ temp/
89
  *.avi
90
  test_audio/
91
 
 
 
 
92
  # Jupyter Notebooks checkpoints
93
  .ipynb_checkpoints/
94
 
 
72
  *.bak
73
  *.backup
74
 
75
+ # Models and large files
76
+ models/
77
+ *.pth
78
+ *.pt
79
+ *.ckpt
80
+ *.safetensors
81
+ *.h5
82
+ *.pkl
83
+ *.bin
84
 
85
+ # Training data and audio files
86
+ data/
87
  *.wav
88
  *.mp3
89
  *.flac
 
91
  *.avi
92
  test_audio/
93
 
94
+ # Temporary scripts
95
+ run_extract.py
96
+
97
  # Jupyter Notebooks checkpoints
98
  .ipynb_checkpoints/
99
 
app/training/extract_features_batch.py CHANGED
@@ -14,8 +14,12 @@ import sys
14
  import traceback
15
  from pathlib import Path
16
 
 
 
17
  import numpy as np
18
 
 
 
19
  # Add parent to path for imports
20
  sys.path.insert(0, str(Path(__file__).resolve().parents[2]))
21
 
 
14
  import traceback
15
  from pathlib import Path
16
 
17
+ import logging
18
+
19
  import numpy as np
20
 
21
+ logger = logging.getLogger(__name__)
22
+
23
  # Add parent to path for imports
24
  sys.path.insert(0, str(Path(__file__).resolve().parents[2]))
25