Getting this issue while deploying neural networks model as pickle file

Hey @Samhith_S,

Thanks for sharing your question. Please check out our guidelines on posting in the forum and update your post to include your error message and a runnable code snippet both formatted as text (rather than screenshots) so that we’re able to reproduce this issue.

Issue resolved

Can you share what the solution was (for future readers of this thread)?

Issue was regarding saving the keras model. Try to use save() and save_weights() to save the model and then you can use load_model() , load_weights() to retrieve the keras model.
Also while saving instead of pickle file, use either β€˜.h5’ or β€˜.keras’

For entire project please do check my github repo GitHub - sankarapusamhith/Loan-Approval-Predictor