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

Error on line 12 while running .py file, i have ran jupyter notebook code and made the model and saved it #2

Open
dipsaili2001 opened this issue May 22, 2021 · 1 comment

Comments

@dipsaili2001
Copy link

Traceback (most recent call last):
File "C:/Users/Dipesh/Fake_News_Detection/Fake_News_Det.py", line 12, in
loaded_model = pickle.load(open("model.pkl", "rb"))
FileNotFoundError: [Errno 2] No such file or directory: 'model.pkl'

The path is right, model.pkl is in this folder only

@shiva-0597
Copy link

check for your path where you've saved your model and kindly check for the file with the name

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

2 participants