Warning error in ASC training script. AI Resources from FP-AI-SENSING1
I'm running your acoustic_scene_classification.ipynb, available in FP-AI-SENSING1, the Middleware ASC (acoustic scene classification):
https://www.st.com/en/embedded-software/fp-ai-sensing1.html
When I try to import and convert data, I get the following error warning:
---------------------------------------------------------------------------
OSError Traceback (most recent call last)
<ipython-input-9-87cd88dbb12e> in <module>
1 dataset_dir = './Dataset'
2 meta_path = path = os.path.join(dataset_dir, 'TrainSet.txt')
----> 3 fileset = np.loadtxt(meta_path, dtype=str)
4
5 # 3 classes : 0 indoor, 1 outdoor, 2 in-vehicle
C:\ST\Anaconda3\lib\site-packages\numpy\lib\npyio.py in loadtxt(fname, dtype, comments, delimiter, converters, skiprows, usecols, unpack, ndmin, encoding, max_rows, like)
1063 raise ValueError("Wrong number of columns at line %d"
1064 % line_num)
-> 1065
1066 # Convert each value according to its column and store
1067 items = [conv(val) for (conv, val) in zip(converters, vals)]
C:\ST\Anaconda3\lib\site-packages\numpy\lib\_datasource.py in open(path, mode, destpath, encoding, newline)
192 """
193
--> 194 ds = DataSource(destpath)
195 return ds.open(path, mode, encoding=encoding, newline=newline)
196
C:\ST\Anaconda3\lib\site-packages\numpy\lib\_datasource.py in open(self, path, mode, encoding, newline)
529 _fname, ext = self._splitzipext(found)
530 if ext == 'bz2':
--> 531 mode.replace("+", "")
532 return _file_openers[ext](found, mode=mode,
533 encoding=encoding, newline=newline)
OSError: ./Dataset\TrainSet.txt not found.
....................................................................................................................
TrainSet.tx is inside the Dataset folder, as you settled.
Did you fix this issue ?
Thanks
