Image Classification Webapp | Flask
ฝัง
- เผยแพร่เมื่อ 20 ก.ย. 2024
- #flask #imageclassification
In this video I have train a CNN model on Cat Dog dataset using keras and tenserflow .Than deploy the tranined model into flask application for classifiaction.
Follow me to learn more
►Code Link:
github.com/nou...
►GitHub Profile:
github.com/nou...
►Facebook Page:
/ aihub.knowledge
►Twitter Page:
/ ai_knowledge
►Twitter Personal Account:
/ noumannahmad
►Instagram:
/ noumannahmad
►Facebook Personal Account:
/ noumannahmad
►Telegram:
t.me/artificia...
►LinkedIn:
/ nouman-ahmad
Tags:
1.Flask Image Classifiaction
2.Cat and Dog Classification
3.Flask Web App
4.Google Colab
5.Convolutional Neural Network
Thanks for keeping the code simple!
Hey thanks for the video? Could you also upload the model.h5 file? I'm trying to run your model training and create the .h5 file, but it doesn't work for me. Many Thanks!
I have a problem trying to follow the steps on your video. I got a message: ValueError: Input 0 of layer dense is incompatible with the layer: expected axis -1 of input shape to have value 12544 but received input with shape (None, 4096)
Thank you very much sir, you are great! The video helped me a lot.
sir, when i click submit button then i face a error which is unicodeEncode error. can you please tell me how to fixed it.
Hey amazing explaination . where can I find this code , It need it urgently to refer ..
Link is give in discription
Hey thanks for the video. What should I do if I have multiple classes....I have 5 classes and for some reason my model always makes the same prediction no matter what image I upload.
I Will Make video soon for multiclass
@@ArtificialIntelligenceHub That would be amazing. There are sooo many videos with only binary/sigmoid set up. And I have tried to adapt them all to my custom data set and I just can't seem to get them to work. I have a Resnet model that I trained and saved as a resnet.h5. Maybe I am not setting up the dic correctly because I am just assuming the one-hot encoding follows alphabetical order
dear sir, can you help me? My predict is only one label that was given label 0. thank you so much!
Sir attribute error keras. Processing. Image has no attribute load_img error sir please solve kardo sir😢
what version of tensorflow are you using in this video?
I’m getting OSError: unable to synchronously open file(file signature not found) please anyone help me
I am getting an error like sequential object has no attribute predict_classes and while updating this p=model.predict(i)
p=np.argmax(p,axis=1) it predicts only one label that was given label 0
Check and Upgrade or downgrade keras and tensorflow version
did u solve the problem?
Life saver bhai
This site can’t be reached
127.0.0.1 refused to connect.
This is what Im getting when Im running in local server, could anyone help me out with solution.
Hey I am getting the same error. Can you please help me solving it..
Same issue,can you please give the solution.
Bro you dont need to put subscribe every 2 seconds tf
Dataset
When I submit a image, it shows
Your file couldn’t be accessed
It may have been moved, edited, or deleted.
ERR_FILE_NOT_FOUND
Hey is your issue solved?
Hey, is your problem solved because I'm also getting same error
@@nikkisharma7602 yeah, I used streamlit instead
@@nikkisharma7602 it's working without any issues
@@gurjotsinghkalsi6404 How did you use streamlit?
sir what are the changes i have to make for 3 classes ?
last layer change softmax 2 to 3
When i try to running file app.py, i have problem 'No file or directory found at model.h5'. Help me sir.
Run the code to train model. After that save it
@@ArtificialIntelligenceHub Oke, thank you very much sir
@@ArtificialIntelligenceHub I have a new problem sir, ' 'Sequential' object has no attribute 'predict_classes' '. This happens because the predict_classes attribute has expired since 2021-01-01. I hope you can update the code using the latest predict. because I want to learn artificial neural network sir. thank you
@@ArtificialIntelligenceHub this happens in app.py file. in the 'p = model.predict_classes(i)' lines 17
@@guruguru3652 am having that problem too
why no module named 'flask' ??? help me hicc
pypi.org/project/Flask/
@@ArtificialIntelligenceHub Can you check my massager on page, bro?
thanks for the tutorial. could you share .h5 file please.
Download the files
@@yutupsindir than Download files and run everything step by step you will get h5 file again..if not there
@@ArtificialIntelligenceHub thank you very much 👍🏻
hi bro i have issue on this
File "app.py", line 2, in
from keras.models import load_model
the app.py cant run, can u help me out
@@amirulhakimbinabdulrahmanu3761 upgrade or downgrade TensorFlow and Keras
@@ArtificialIntelligenceHub upgrade to what version?
@@amirulhakimbinabdulrahmanu3761 tensflow 2.0
@@ArtificialIntelligenceHub currently, my anaconda is tensorflow version 2.3 , keras 2.3 and python 3.8. but have error AttributeError: module 'tensorflow.python.framework.ops' has no attribute '_TensorLike'
can I get your my drive link?
Tell any one keras version please😢
Sir please reply me