The other parameters of each layer were hard coded.
For example, 675 is the number of voxels in the ROI mask for subject 4
I will need to look into it to find out how to allow different number of TRs, and possibly for other parameters for different subjects.
cc @srastegarnia
I have resolved the issue - the window length in data preprocessing has to match the parameter used in the model
Will think about how the tutorial flow to make this clearer.
The other parameters of each layer were hard coded. For example, 675 is the number of voxels in the ROI mask for subject 4 I will need to look into it to find out how to allow different number of TRs, and possibly for other parameters for different subjects. cc @srastegarnia
It will be useful to know how these parameters were set: https://github.com/main-educational/brain_encoding_decoding/blob/6fbd95c3d93e5e7d82628f901c60fa813bf234bb/src/gcn_model.py#L13-L18
If we set
n_timewindow=3
, we got this error: