-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: explicitly set weights_only to avoid FutureWarning (#193)
* FIX: explicitly set weights_only to avoid FutureWarning - If I'm understanding the Torch 2.4 changelog correctly, you just need to explicitly pass a value to weights_only. Since the default is alraedy False, I am just explicitly setting it here so this should be backward compatible * FIX: fix other uses of torch.load in codebase * DOC: Update changelog * Update mne_icalabel/iclabel/network/tests/test_network.py * fix one more * Change weights_only to True --------- Co-authored-by: Mathieu Scheltienne <mathieu.scheltienne@gmail.com> Co-authored-by: Mathieu Scheltienne <mathieu.scheltienne@fcbg.ch>
- Loading branch information
1 parent
1c36710
commit 3cfc1ab
Showing
4 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.. _Adam Li: https://github.com/adam2392 | ||
.. _Mathieu Scheltienne: https://github.com/mscheltienne | ||
.. _Jacob Feitelberg: https://github.com/jacobf18 | ||
.. _Anand Saini: https://github.com/anandsaini024 | ||
.. _Anand Saini: https://github.com/anandsaini024 | ||
.. _Scott Huberty: https://github.com/scott-huberty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters