Skip to content
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

Evaluate and support MEGNet #134

Open
mscheltienne opened this issue Jul 20, 2023 · 6 comments
Open

Evaluate and support MEGNet #134

mscheltienne opened this issue Jul 20, 2023 · 6 comments
Labels
🌟 enhancement Proposed improvement or feature request. help wanted PR is welcome.

Comments

@mscheltienne
Copy link
Member

Found this randomly: https://www.sciencedirect.com/science/article/pii/S1053811921006777
Associated code: https://github.com/DeepLearningForPrecisionHealthLab/MegNET_2020

Might be interesting (I haven't read the paper yet).

@adam2392
Copy link
Member

This looks cool!

@adam2392 adam2392 added help wanted PR is welcome. 🌟 enhancement Proposed improvement or feature request. labels Jul 20, 2023
@jacobf18
Copy link
Collaborator

Looks great. They use tensorflow for their model. Should be easy to convert to ONNX.

@colehank
Copy link

colehank commented Oct 11, 2024

Hi! Dear MNE Developers,

I have integrated MEGnet into my MEG preprocessing workflow using data from a 256-channel CTF system. The artifact recognition hit rate is quite good, but on average, about one or two artifacts are missed per run. The artifacts identified so far include only blinks, eye movements, and heartbeats, as MEGnet was trained on labels for these three types of artifacts. To enhance the functionality, it may be necessary to retrain the model using more subjects, additional MEG systems, and with a broader range of artifact labels in order to achieve results comparable to MNE-ICAlabel. This is my experience using it, hopefully useful! :)

The attached figure displays the ICA components from one run, where components with red titles are those identified as artifacts by MEGnet.
image

Best regards,
Guohao

@mscheltienne
Copy link
Member Author

mscheltienne commented Oct 11, 2024

Looks good, it would be awesome if you could take the time to create a PR to mne-icalabel to include MEGNet in the available algo. It would have to be a submodue in mne_icalabel/megnet defined similarly as iclabel in mne_icalabel/iclabel.

@colehank
Copy link

Sure! It would be awesome to contribute to MNE. However, I haven't been deeply involved in the development of the toolkit before. I'll take some time to study the structure of mne_icalabel/iclabel and see if I can work on adding mne_icalabel/megnet.

@mscheltienne
Copy link
Member Author

mscheltienne commented Oct 12, 2024

Great, we will definitely give you all the help and advice possible!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌟 enhancement Proposed improvement or feature request. help wanted PR is welcome.
Projects
None yet
Development

No branches or pull requests

4 participants