community-events icon indicating copy to clipboard operation
community-events copied to clipboard

common_voice map error in the notebook of fine-tune-whisper-non-streaming

Open SnoopyDevelops opened this issue 1 year ago • 1 comments

NameError: name 'processor' is not defined

image

SnoopyDevelops avatar Jul 12 '23 05:07 SnoopyDevelops

Hey @SnoopyDevelops! The processor is defined as a global variable in the section Prepare Processor and Pre-Process Data, which precedes the dataset .map function. Could you double check that you ran the code cells sequentially in the order provided? You can also print out the processor immediately before you call common_voice.map and check that it is defined.

sanchit-gandhi avatar Dec 07 '23 13:12 sanchit-gandhi