เจอ error แบบนี้แก้ยังไงครับ

#2
by phitsanuc - opened

NameError Traceback (most recent call last)
in <cell line: 2>()
1 #get 2 examples as sample input
----> 2 test_dataset = test_dataset.map(speech_file_to_array_fn)
3 inputs = processor(test_dataset["speech"][:2], sampling_rate=16_000, return_tensors="pt", padding=True)
4
5 #infer

NameError: name 'test_dataset' is not defined

Sign up or log in to comment