New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Models dict #524
Models dict #524
Conversation
Codecov Report
@@ Coverage Diff @@
## master #524 +/- ##
==========================================
- Coverage 84.37% 84.35% -0.02%
==========================================
Files 63 63
Lines 4545 4578 +33
==========================================
+ Hits 3835 3862 +27
- Misses 710 716 +6 |
Can you explain a bit what this does? And maybe add such explanation in the comments. Looks quite magic to me at the moment haha :) |
I added a small comment explaining the filling logic @robintibor. It is a for that is executed when loading the library that will allow you to access the list of models and is updated dynamically. |
@robintibor Haha it’s the same as for the |
Thank you Pierre! |
* Add models_dict * Add test for models_dict * Update whats_new.rst * Update braindecode/models/util.py * flake8 --------- Co-authored-by: Bru <a.bruno@aluno.ufabc.edu.br>
adds
braindecode.models.util.models_dict