Replies: 1 comment
-
i had to remove the import of nn_runner which just can be a workarround. does someone has a fix for that? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The modells (actaully the XGB) could not be found of the main module. what do i have to do..
C:\Users\Melih\AppData\Local\Programs\Python\Python311\python.exe C:\Users\Melih\IdeaProjects\NBA-Machine-Learning-Sports-Betting\main.py -xgb -odds=fanduel
Traceback (most recent call last):
File "C:\Users\Melih\IdeaProjects\NBA-Machine-Learning-Sports-Betting\main.py", line 9, in
from src.Predict import NN_Runner, XGBoost_Runner
File "C:\Users\Melih\IdeaProjects\NBA-Machine-Learning-Sports-Betting\src\Predict\NN_Runner.py", line 12, in
model = load_model('Models/NN_Models/Trained-Model-ML-1699315388.285516')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Melih\AppData\Local\Programs\Python\Python311\Lib\site-packages\keras\src\saving\saving_api.py", line 262, in load_model
return legacy_sm_saving_lib.load_model(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Melih\AppData\Local\Programs\Python\Python311\Lib\site-packages\keras\src\utils\traceback_utils.py", line 70, in error_handler
raise e.with_traceback(filtered_tb) from None
File "C:\Users\Melih\AppData\Local\Programs\Python\Python311\Lib\site-packages\keras\src\saving\legacy\saved_model\load.py", line 113, in load
raise IOError(
OSError: Cannot parse keras metadata at path Models/NN_Models/Trained-Model-ML-1699315388.285516\keras_metadata.pb: Received error: Error parsing message
Process finished with exit code 1
Beta Was this translation helpful? Give feedback.
All reactions