Repository navigation
FIX apply Deep4 short-input scaling to CombinedConv kernel - #1215
bruAristimunha merged 3 commits into
Conversation
|
Exact-head validation is green on |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1215 +/- ##
==========================================
+ Coverage 87.84% 87.98% +0.14%
==========================================
Files 151 151
Lines 17602 17615 +13
==========================================
+ Hits 15462 15499 +37
+ Misses 2140 2116 -24 🚀 New features to boost your workflow:
|
bruAristimunha
left a comment
There was a problem hiding this comment.
Thanks. Reproduced the kernel/attribute desync on master, confirmed the scaled filter_time_length now reaches CombinedConv and default configs are unchanged. CI green.
Resolved docs/whats_new.rst by keeping both changelog entries.
bruAristimunha
left a comment
There was a problem hiding this comment.
Thanks. Reproduced the kernel/attribute desync on master, confirmed the scaled filter_time_length now reaches CombinedConv and default configs are unchanged. Tests green; the only red check is the Codecov upload (infra).
Resolved docs/whats_new.rst and test_models.py insertion conflicts by keeping both sides.
bruAristimunha
left a comment
There was a problem hiding this comment.
Thanks. Reproduced the kernel/attribute desync on master; scaled filter_time_length now reaches CombinedConv; default configs unchanged.
Summary
Deep4Netscales its temporal kernel and pooling parameters whenn_timesis below the model's minimum supported length. In the split-first-layer path, however, the actualCombinedConvwas still constructed with the originalfilter_time_lengthargument rather than the scaledself.filter_time_length.That leaves the public model attributes and the real first-layer kernel out of sync after auto-scaling.
Fix
Pass the scaled
self.filter_time_lengthintoCombinedConv.Regression coverage
The test uses a short input (
n_times=300) that triggers the existing auto-scaling path and checks that:conv_time_spat.conv_time.kernel_size[0]matchesmodel.filter_time_length;This is independent of the separate stride-before-pool and unsplit-first-layer fixes.