During running the gdf2npy.py, at line 11 of code the below error has been occurred:
events = mne.find_events(raw, initial_event = True )
ValueError: No stim channels found, but the raw object has annotations. Consider using mne.events_from_annotations to convert these to events.
my environment details are:
google colab - python ver 3 - CPU mode
mne version: 0.22 (and also test by ver 0.19 , in both version the error is same)