Views
No views yet
1import torch 2 3# Load the model 4model = torch.load('best_model.pth') 5 6# Prepare your EEG data (shape: [batch_size, channels, time_points]) 7# Make predictions 8with torch.no_grad(): 9 meg_predictions = model(eeg_data)