OHBA-analysis / osl-dynamics

Methods for studying dynamic functional brain activity in neuroimaging data.
https://osl-dynamics.readthedocs.io/
MIT License
52 stars 17 forks source link

errors when running random_state_time_course_initialization #262

Open suhnyoungjun opened 1 week ago

suhnyoungjun commented 1 week ago

Hi, I have three datasets. The first dataset processed successfully without any issues. However, I encountered different errors for the second and third datasets when running random_state_time_course_initialization. Please find the attached images to see the raised errors.

Thank you for your time and help in advance.

Screenshot 2024-06-25 at 10 00 05 PM Screenshot 2024-06-25 at 10 00 25 PM

cgohil8 commented 1 week ago

There's an issue with the dataset, seems like it can't iterate over it. Could be a hyperparameter issue with sequences being to long/short where you end up with only 1 batch, or something like that.

Can you copy and paste the script/code you're using to load the data and train the model.