Image Classification Using Pytorch and Convolutional Neural Network

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ต.ค. 2024

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

  • @SagarLekhak
    @SagarLekhak 9 หลายเดือนก่อน +2

    How can someone explain such complex concepts in a very simple way? I adore you.

    • @CodeWithAarohi
      @CodeWithAarohi  9 หลายเดือนก่อน +1

      Glad my video is helpful 🙂

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

    Keep sharing such an amazing knowledgeable content in form of very easy to learn videos.

  • @Sunil-ez1hx
    @Sunil-ez1hx ปีที่แล้ว +2

    Hello Ma’am
    Your AI and Data Science content is consistently impressive! Thanks for making complex concepts so accessible. Keep up the great work! 🚀 #ArtificialIntelligence #DataScience #ImpressiveContent 👏👍

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

    Really knowledgeable video & explained in a Very well manner. Thank you

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

    Very nice Aarohi Mam. Thanks for making complex stuff simple.

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

    Ossm video well explained

  • @MS-yy2dh
    @MS-yy2dh หลายเดือนก่อน +1

    Thank for the video. Can I ask - how do you crate the directory structure with just daisies and dandelions in separate folders? The file I have downloaded (from the link you give) has daisy, dandelion, rose, sunflower and tulip, all together.

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

      delete rest of the folders

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

    Hi, thank you for sharing this great content.
    I have a question;
    in 19th minute of the video, you create a model and load the trained model.
    also you create new_model variable.
    in 20th minute of the video, you write output = model(input_batch)
    I get confused, where we use new_model?

  • @harshawithhonor6992
    @harshawithhonor6992 8 หลายเดือนก่อน +1

    Hello ma'am, could you please provide the source from where I could get the image files to run this project. Also, do you have any citations (references) for this project.

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

    thanks for such easy tutorial on image classification mam.... worth watching your channel

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

    Great, Short and Clear

  • @pifordtechnologiespvtltd5698
    @pifordtechnologiespvtltd5698 8 หลายเดือนก่อน

    Really amazing work

    • @CodeWithAarohi
      @CodeWithAarohi  8 หลายเดือนก่อน

      Thank you so much 😀

  • @ashimasingla103
    @ashimasingla103 11 หลายเดือนก่อน

    Hello Aarohi
    Your channel is very knowledgeable & helpful for all Artificial Intelligence/ Data Scientist Professionals. Stay blessed & keep sharing such a good content. Your channel really needs more likes & share so to reach maximum AI professionals who can encash from it

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

    Thank you very much for the amazing knowledge sharing. If you can, please explain how we can use deep unfolding networks for image classification optimisation using a code.

  • @Sunil-ez1hx
    @Sunil-ez1hx ปีที่แล้ว +1

    Simple awesome . Thank you

  • @dibo1934
    @dibo1934 8 หลายเดือนก่อน

    very helpful video

    • @CodeWithAarohi
      @CodeWithAarohi  8 หลายเดือนก่อน

      Glad it was helpful!

  • @rainlarh5306
    @rainlarh5306 10 หลายเดือนก่อน

    Hi Arohi! Thanks for sharing the knowledge:) I have a qns to clarify but I'm not sure whether would you be able to see my comments. How will the the code understand or how was the datasets being seperated into inputs and labels while running the training loop as shown in your video?

    • @CodeWithAarohi
      @CodeWithAarohi  10 หลายเดือนก่อน

      This line is responsible for reading labels and images: datasets.ImageFolder(os.path.join(data_dir, x), data_transforms[x]) for x in ['train', 'val']}

  • @luisaruquipac.381
    @luisaruquipac.381 4 หลายเดือนก่อน

    Excellent content! Thank you

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

    Thank you very much. Please make a video that contains an end to end computer vision project even if the project is basic.

  • @jmxt3
    @jmxt3 10 หลายเดือนก่อน

    Great video, thanks

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

    Thank you mam for sharing

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

    Very good video

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

    Hello, great video! I wanted to ask why you used model instead of new_model in the line output = model(input_batch)? new_model should have only 2 neurons in the last layer and therefore choose between two solutions, while model still has all the neurons. Am I correct or am I mistaken? Thanks!!

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

      Check the cell below "Classification on unseen image". Therewe are loading a pre-trained ResNet-18 model and its saved weights from 'flower_classification_model.pth', then creates a new ResNet-18 model adjusted to classify 2 classes (daisy and dandelion). It copies only the first 2 output units' weights and biases from the loaded model to the final layer of the new model, effectively adapting the pre-trained model for a 2-class problem.

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

      Okay, thank you! So, load the model with 1000 final nodes and then load our model which has only 2 outputs. Next, we create a new model and copy only the first 2 weights and biases from the initial model. So, to understand, I could directly load the pre-trained model with the exact number of output units, then load my model and use that@@CodeWithAarohi

  • @felipemunoz6561
    @felipemunoz6561 11 หลายเดือนก่อน +1

    where i can find that dataset?, i just found of CNN in his github :(

    • @CodeWithAarohi
      @CodeWithAarohi  11 หลายเดือนก่อน

      universe.roboflow.com/enrico-garaiman/flowers-y6mda/dataset/7

  • @Sunil-ez1hx
    @Sunil-ez1hx ปีที่แล้ว

    Code with Aarohi is best platform to learn Artificial Intelligence & Data Science
    #BestChannel #CodeWithAarohi

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

    Hi Aarohi, your content is excellent and your channel is one of the best Artificial Intelligence channel but still not getting that much of likes which your channel deserves. Hope you succeed #AI
    #ArtificialIntelligence
    #DataScience
    #EducationalContent

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

      Thank you so much for your kind words and support! It means a lot to me. 😊🙏

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

    Please share the dataset used in this video

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

    Mam i tried with my own cnn model including dropout and batch normalization. And i achieved accuracy of 64% and model predicted output label correctly with image. 64% of accuracy is not bad. How to increase accuracy mam ?.

    • @CodeWithAarohi
      @CodeWithAarohi  4 หลายเดือนก่อน +1

      1- Increase the amount and diversity of your training data.
      2- Increase the number of layers (both convolutional and fully connected layers) to capture more complex patterns.
      3- Experiment with different hyperparameters like learning rate, optimizers.
      4- Use pre-trained models (e.g., VGG, ResNet, Inception) and fine-tune them on your dataset.

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

      @@CodeWithAarohi thanks for your guidance mam

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

    hey, i m working on an image classifcation project but i m confused what should be the order of preprocessing the images. is my below order of image prepprocessing correct??
    step - 1 -> Resizing to 64x64 (Both Train & Validation dataset)
    step - 2 ->Splitting dataset into train and validation
    step - 3 ->Augmentation (Only Train data)
    step - 4 ->Normalization (Both Train & Validation dataset)

  • @dadadavid1409
    @dadadavid1409 21 วันที่ผ่านมา

    Hi, Nice Video!
    Please, can I get the notebook?

    • @CodeWithAarohi
      @CodeWithAarohi  20 วันที่ผ่านมา

      Code is available here: docs.ultralytics.com/models/yolov5/

  • @deepakchaudhary3149
    @deepakchaudhary3149 7 หลายเดือนก่อน +1

    mam if image is of .npy file extension then how to load it?

  • @TekkenGamer7
    @TekkenGamer7 5 หลายเดือนก่อน

    Can I use flatten() instead of Randomhorizontal()

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

    good work.... do more in Gen ai and LLm's

  • @JohnSmith-gu9gl
    @JohnSmith-gu9gl 4 หลายเดือนก่อน

    how did you come up with the values: [0.485, 0.456, 0.406] and [0.229, 0.224, 0.225] ?

    • @DBWorld
      @DBWorld 3 หลายเดือนก่อน +1

      These values are taken for ImageNet dataset. You need to arrive with your own mean[R,B,G] and std[R,B,G] values for your kind of training dataset.

    • @JohnSmith-gu9gl
      @JohnSmith-gu9gl 3 หลายเดือนก่อน

      @@DBWorld thanks!

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

      How can i find that? @DBWorld can you explain?

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

    I have a quick question regarding this video, Aarohi. I watched your video and cloned your GitHub repository to train a dataset of approximately 100 bank cheque images. However, I encountered an issue with the model's performance. When I tested it with non-cheque images, it incorrectly classified them as cheques. On the other hand, it also misclassified bank cheque images as something other than cheques. Can you help me understand and address this problem?

    • @CodeWithAarohi
      @CodeWithAarohi  11 หลายเดือนก่อน

      Imbalanced data can lead to misclassification issues. If you have significantly more cheque images than non-cheque images (or vice versa), it can skew the model's performance. You might need to balance the dataset by oversampling the minority class or undersampling the majority class.

  • @НиколайНовичков-е1э
    @НиколайНовичков-е1э ปีที่แล้ว

    Thank you!

  • @imihhdude
    @imihhdude 8 หลายเดือนก่อน

    Can the code snippet apply to multiple labels

    • @CodeWithAarohi
      @CodeWithAarohi  8 หลายเดือนก่อน +1

      Yes

    • @imihhdude
      @imihhdude 8 หลายเดือนก่อน

      @@CodeWithAarohi thank you 🫶🏻

  • @shaikhyaqoob9386
    @shaikhyaqoob9386 6 หลายเดือนก่อน

    how can i get this dataset

    • @CodeWithAarohi
      @CodeWithAarohi  6 หลายเดือนก่อน

      universe.roboflow.com/search?q=flower%20classification

  • @Ai_Engineer
    @Ai_Engineer 8 หลายเดือนก่อน

    where i can get the datasets

    • @CodeWithAarohi
      @CodeWithAarohi  8 หลายเดือนก่อน

      universe.roboflow.com/enrico-garaiman/flowers-y6mda/dataset/7

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

    can you provide dataset

  • @mohamedragab8644
    @mohamedragab8644 5 หลายเดือนก่อน

    Where is the dataset

    • @CodeWithAarohi
      @CodeWithAarohi  5 หลายเดือนก่อน +1

      universe.roboflow.com/enrico-garaiman/flowers-y6mda/dataset/7

    • @mohamedragab8644
      @mohamedragab8644 5 หลายเดือนก่อน

      @@CodeWithAarohi
      Thank you ❤️

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

    Tq mam

  • @NabeelBaig-p1y
    @NabeelBaig-p1y ปีที่แล้ว

    Where is Dataset?

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

    Yea

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

    Thank you, I sent you a mail you didn't answer me,I need your advice please 🙏 , thank you

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

    Keep sharing such an amazing knowledgeable content in form of very easy to learn videos.