You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Love the video tutorials but I'm constantly getting errors on the pkl files and cannot resolve. See below:
(base) charlies-mbp-2:ml-proj-template craine$ sh run.sh 0 Traceback (most recent call last): File "/Users/craine/opt/anaconda3/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/Users/craine/opt/anaconda3/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/Users/craine/Documents/workspace/ml-proj-template/src/predict.py", line 47, in <module> submission = predict() File "/Users/craine/Documents/workspace/ml-proj-template/src/predict.py", line 22, in predict encoders = joblib.load(os.path.join("models", f"{MODEL}_{FOLD}_label_encoder.pkl")) File "/Users/craine/opt/anaconda3/lib/python3.7/site-packages/joblib/numpy_pickle.py", line 597, in load with open(filename, 'rb') as f: FileNotFoundError: [Errno 2] No such file or directory: 'models/_0_label_encoder.pkl'
The text was updated successfully, but these errors were encountered:
In the video tutorial, @abhishekkrthakur has initially trained the model. After that he commented out the required code for training model - Lines 6-10 in run.sh.
Love the video tutorials but I'm constantly getting errors on the pkl files and cannot resolve. See below:
(base) charlies-mbp-2:ml-proj-template craine$ sh run.sh 0 Traceback (most recent call last): File "/Users/craine/opt/anaconda3/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/Users/craine/opt/anaconda3/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/Users/craine/Documents/workspace/ml-proj-template/src/predict.py", line 47, in <module> submission = predict() File "/Users/craine/Documents/workspace/ml-proj-template/src/predict.py", line 22, in predict encoders = joblib.load(os.path.join("models", f"{MODEL}_{FOLD}_label_encoder.pkl")) File "/Users/craine/opt/anaconda3/lib/python3.7/site-packages/joblib/numpy_pickle.py", line 597, in load with open(filename, 'rb') as f: FileNotFoundError: [Errno 2] No such file or directory: 'models/_0_label_encoder.pkl'
The text was updated successfully, but these errors were encountered: