Music-Recommendation-Using-Deep-Learning icon indicating copy to clipboard operation
Music-Recommendation-Using-Deep-Learning copied to clipboard

AttributeError: 'NoneType' object has no attribute 'group'

Open DazzleAce opened this issue 2 years ago • 0 comments

I run it on pycharm with nothing changed. but there is an error

File "D:\musicdemo\demo\import_data.py", line 48, in create_spectrogram track_id = int(re.search('fma_small/.*/(.+?).mp3', f).group(1)) AttributeError: 'NoneType' object has no attribute 'group'

any idea to solve it?

DazzleAce avatar Apr 13 '23 18:04 DazzleAce