Skip to content

chore: setup github actions ci pipeline and 2d tensor shape validation - #3

Merged
neilkdbn merged 9 commits into
mainfrom
feature/2d-models
Aug 29, 2026
Merged

neilkdbn merged 9 commits into
mainfrom
feature/2d-models

Conversation

@Anjalii146

Copy link
Copy Markdown
Collaborator

the chunk one of my part is done and the pipeline is setup to avoid breaking of the model

@Anjalii146 Anjalii146 self-assigned this Aug 23, 2026
@Anjalii146
Anjalii146 marked this pull request as draft August 23, 2026 10:47
- Implemented lightweight channel progression in ResNet18_2D (16->32->64->128) reducing params to ~701K
- Added nn.Dropout2d(p=0.3) inside ResNet BasicBlock
- Integrated torchvision RandomErasing (SpecAugment) dynamically in SpectrogramDataset
- Increased weight_decay to 1e-2 in training config
- Updated colab_train.ipynb to mount Google Drive automatically for faster dataset loading
- Removed Dropout2d from BasicBlock and moved Dropout(0.5) to final FC layer

- Changed ResNet18_2D channels to 32->64->128->256 (~2.8M params)

- Removed destructive RandomErasing SpecAugment from 64x5 spectrograms

- Reverted weight_decay to 1e-4
- Changed precompute_stft.py STFT params to nperseg=32, noverlap=28 (resulting in 32x25 spectrograms)

- Updated weight_decay to 1e-3 in training config for ideal middle-ground regularization
@neilkdbn
neilkdbn marked this pull request as ready for review August 29, 2026 19:21
@neilkdbn
neilkdbn merged commit d5ef358 into main Aug 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants