NeuSpeech / EEG-To-Text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Any other code to create EEG embeddings?

aghktb opened this issue · comments

bash ./scripts/eval_decoding.sh
[INFO]subjects: ALL
[INFO]eeg type: GD
[INFO]using bands: ['_t1', '_t2', '_a1', '_a2', '_b1', '_b2', '_g1', '_g2']
[INFO]using device cuda:0

[INFO]loading 3 task datasets
[INFO]using subjects: ['ZAB', 'ZDM', 'ZDN', 'ZGW', 'ZJM', 'ZJN', 'ZJS', 'ZKB', 'ZKH', 'ZKW', 'ZMG', 'ZPH']
train divider = 320
dev divider = 360
[INFO]initializing a test set...
++ adding task to dataset, now we have: 456
[INFO]using subjects: ['ZAB', 'ZDM', 'ZDN', 'ZGW', 'ZJM', 'ZJN', 'ZJS', 'ZKB', 'ZKH', 'ZKW', 'ZMG', 'ZPH']
train divider = 240
dev divider = 270
[INFO]initializing a test set...
discard length zero instance: He was the son of a blacksmith Timothy Bush, Jr. and Lydia Newcomb and was born in Penfield, Monroe Co., New York on January 28, 1797.
discard length zero instance: Mary Lilian Baels (November 28, 1916 - June 7, 2002) was best known as Princess de Ruthy, the controversial morganatic second wife of King Leopold III of the Belgians.
++ adding task to dataset, now we have: 806
[INFO]using subjects: ['YIS', 'YLS', 'YHS', 'YMD', 'YTL', 'YAC', 'YRP', 'YFR', 'YDG', 'YDR', 'YAG', 'YSD', 'YAK', 'YMS', 'YRH', 'YFS', 'YRK', 'YSL']
train divider = 279
dev divider = 313
[INFO]initializing a test set...
expect word eeg embedding dim to be 840, but got 0, return None
expect word eeg embedding dim to be 840, but got 0, return None
expect word eeg embedding dim to be 840, but got 0, return None
expect word eeg embedding dim to be 840, but got 0, return None
expect word eeg embedding dim to be 840, but got 0, return None
expect word eeg embedding dim to be 840, but got 0, return None

I get this verbose both in training and evaluating decoder. Let me know if it to be ignored or any other code for generating embeddings.

@aghktb You can ignore that message, just empty data in zuco. if want to get a raw EEG signals, you can preprocessing zuco seperately.