Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundError: './data/song-file-map.json' #9

Open
danialygt opened this issue Apr 13, 2021 · 0 comments
Open

FileNotFoundError: './data/song-file-map.json' #9

danialygt opened this issue Apr 13, 2021 · 0 comments

Comments

@danialygt
Copy link

danialygt commented Apr 13, 2021

hi

i have try to run your code, i try like what you write on readme.md,
i made a model and put it on the 'working' directory . until yet all code work fine but when i try run "api.py" i get this error:

(MusicEngine) D:\MusicEngine\source\src>  python api.py         
D:\MusicEngine\lib\site-packages\scipy\__init__.py:140: UserWarning: A NumPy version >=1.16.5 and <1.23.0 is required for this version of SciPy (detected version 1.16.2) UserWarning)

Using TensorFlow backend.                                            
    * Starting Flask server and loading Keras model...                                                                                                                                                                 
    * Please wait until server has fully started 

2021-04-13 16:13:32.476419: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2

D:\MusicEngine\lib\site-packages\keras\engine\training.py:307:` FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
    if sample_weight_mode == 'temporal':
Traceback (most recent call last):
    File "api.py", line 193, in <module>
        load_model()
    File "api.py", line 48, in load_model
        with open('./data/song-file-map.json', 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: './data/song-file-map.json'

what is "song-file-map.json" file and where i can find it?!

i use MillionSongSubset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant