-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Error Message:
Traceback (most recent call last):
File "/usr/local/bin/eeggan", line 8, in
sys.exit(main())
^^^^^^
File "/usr/local/lib/python3.12/dist-packages/eeggan/main.py", line 34, in main
autoencoder_training_main(args)
File "/usr/local/lib/python3.12/dist-packages/eeggan/autoencoder_training_main.py", line 96, in main
data = Dataloader(path=opt['data'],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/eeggan/helpers/dataloader.py", line 36, in init
assert len(df)%len(channels)==0, f"Number of rows ({len(df)}) must be a multiple of number of channels ({len(channels)}).\nThis could be caused by missing data for some channels."
^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Number of rows (1790208) must be a multiple of number of channels (1590964).
This could be caused by missing data for some channels.
Dataset info:
Total Rows: 1,790,208
Actual Channel Count: 14
Sampling Rate/Epoch Time: 256 Hz × 10 seconds.
Calculated time_out: 2560
Failing command:
!eeggan autoencoder_training data=eeg_clean_time_series.csv save_name='my_autoencoder.pt' kw_channel='fp1-c3' target='time' time_out=2560 n_epochs=10 seed=42
Expected Behavior: The command should load the data and begin training
Problem: The number of channels is much bigger than it actually is. Some problem with the time_out parameter?