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

ความคิดเห็น • 57

  • @thomasshelby2357
    @thomasshelby2357 ปีที่แล้ว

    Thanks for keeping the code simple!

  • @lorenhyseni9575
    @lorenhyseni9575 2 ปีที่แล้ว +3

    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!

  • @localpedia7169
    @localpedia7169 3 ปีที่แล้ว +1

    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)

  • @fils2magao130
    @fils2magao130 2 ปีที่แล้ว

    Thank you very much sir, you are great! The video helped me a lot.

  • @jowelahmed628
    @jowelahmed628 4 หลายเดือนก่อน

    sir, when i click submit button then i face a error which is unicodeEncode error. can you please tell me how to fixed it.

  • @reetkhanchandani6285
    @reetkhanchandani6285 3 ปีที่แล้ว +2

    Hey amazing explaination . where can I find this code , It need it urgently to refer ..

  • @noahbevers9291
    @noahbevers9291 3 ปีที่แล้ว +2

    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.

    • @ArtificialIntelligenceHub
      @ArtificialIntelligenceHub  3 ปีที่แล้ว +1

      I Will Make video soon for multiclass

    • @noahbevers9291
      @noahbevers9291 3 ปีที่แล้ว +2

      @@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

  • @huongphamthithu2143
    @huongphamthithu2143 ปีที่แล้ว

    dear sir, can you help me? My predict is only one label that was given label 0. thank you so much!

  • @muttukonnur9422
    @muttukonnur9422 ปีที่แล้ว

    Sir attribute error keras. Processing. Image has no attribute load_img error sir please solve kardo sir😢

  • @waynness906
    @waynness906 2 ปีที่แล้ว

    what version of tensorflow are you using in this video?

  • @nehagowda7242
    @nehagowda7242 9 หลายเดือนก่อน

    I’m getting OSError: unable to synchronously open file(file signature not found) please anyone help me

  • @manasanagalakshmi5656
    @manasanagalakshmi5656 2 ปีที่แล้ว

    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

  • @manpro2433
    @manpro2433 10 หลายเดือนก่อน +1

    Life saver bhai

  • @krishnavamshi6916
    @krishnavamshi6916 3 ปีที่แล้ว +1

    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.

    • @bhagyashreebhagyalaxmi442
      @bhagyashreebhagyalaxmi442 2 ปีที่แล้ว

      Hey I am getting the same error. Can you please help me solving it..

    • @ahalyar.k2177
      @ahalyar.k2177 2 ปีที่แล้ว

      Same issue,can you please give the solution.

  • @Bladermishal10
    @Bladermishal10 ปีที่แล้ว +2

    Bro you dont need to put subscribe every 2 seconds tf

  • @harivj3372
    @harivj3372 3 ปีที่แล้ว +1

    Dataset

  • @gurjotsinghkalsi6404
    @gurjotsinghkalsi6404 ปีที่แล้ว

    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

    • @nikkisharma7602
      @nikkisharma7602 ปีที่แล้ว

      Hey is your issue solved?

    • @nikkisharma7602
      @nikkisharma7602 ปีที่แล้ว

      Hey, is your problem solved because I'm also getting same error

    • @gurjotsinghkalsi6404
      @gurjotsinghkalsi6404 ปีที่แล้ว

      @@nikkisharma7602 yeah, I used streamlit instead

    • @gurjotsinghkalsi6404
      @gurjotsinghkalsi6404 ปีที่แล้ว

      @@nikkisharma7602 it's working without any issues

    • @nikkisharma7602
      @nikkisharma7602 ปีที่แล้ว

      @@gurjotsinghkalsi6404 How did you use streamlit?

  • @paroxymal7688
    @paroxymal7688 2 ปีที่แล้ว

    sir what are the changes i have to make for 3 classes ?

  • @guruguru3652
    @guruguru3652 2 ปีที่แล้ว

    When i try to running file app.py, i have problem 'No file or directory found at model.h5'. Help me sir.

    • @ArtificialIntelligenceHub
      @ArtificialIntelligenceHub  2 ปีที่แล้ว

      Run the code to train model. After that save it

    • @guruguru3652
      @guruguru3652 2 ปีที่แล้ว

      @@ArtificialIntelligenceHub Oke, thank you very much sir

    • @guruguru3652
      @guruguru3652 2 ปีที่แล้ว

      @@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

    • @guruguru3652
      @guruguru3652 2 ปีที่แล้ว

      @@ArtificialIntelligenceHub this happens in app.py file. in the 'p = model.predict_classes(i)' lines 17

    • @atwanziretimothyian9968
      @atwanziretimothyian9968 2 ปีที่แล้ว

      @@guruguru3652 am having that problem too

  • @duykhang3250
    @duykhang3250 2 ปีที่แล้ว

    why no module named 'flask' ??? help me hicc

  • @yutupsindir
    @yutupsindir 2 ปีที่แล้ว +1

    thanks for the tutorial. could you share .h5 file please.

    • @ArtificialIntelligenceHub
      @ArtificialIntelligenceHub  2 ปีที่แล้ว

      Download the files

    • @ArtificialIntelligenceHub
      @ArtificialIntelligenceHub  2 ปีที่แล้ว +1

      @@yutupsindir than Download files and run everything step by step you will get h5 file again..if not there

    • @yutupsindir
      @yutupsindir 2 ปีที่แล้ว

      @@ArtificialIntelligenceHub thank you very much 👍🏻

  • @amirulhakimbinabdulrahmanu3761
    @amirulhakimbinabdulrahmanu3761 2 ปีที่แล้ว

    hi bro i have issue on this
    File "app.py", line 2, in
    from keras.models import load_model

  • @prateekgarg6187
    @prateekgarg6187 2 ปีที่แล้ว

    can I get your my drive link?

  • @muttukonnur9422
    @muttukonnur9422 7 หลายเดือนก่อน

    Tell any one keras version please😢

  • @muttukonnur9422
    @muttukonnur9422 ปีที่แล้ว

    Sir please reply me