Image Classification Using Pytorch and Convolutional Neural Network

Поделиться
HTML-код
  • Опубликовано: 4 фев 2025

Комментарии • 94

  • @arnavthakur5409
    @arnavthakur5409 Год назад

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

  • @SagarLekhak
    @SagarLekhak Год назад +2

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

  • @soravsingla8782
    @soravsingla8782 Год назад +1

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

  • @utkarshtripathi9118
    @utkarshtripathi9118 Год назад +2

    Ossm video well explained

  • @jazz5919
    @jazz5919 Месяц назад

    didi, you deserve 1 million fr!

  • @mainhoontom2176
    @mainhoontom2176 Год назад +1

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

  • @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 👏👍

  • @josephmyalla3611
    @josephmyalla3611 4 месяца назад

    Great, Short and Clear

  • @Sunil-ez1hx
    @Sunil-ez1hx Год назад +1

    Simple awesome . Thank you

  • @karthickkuduva9819
    @karthickkuduva9819 8 месяцев назад

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

  • @pifordtechnologiespvtltd5698
    @pifordtechnologiespvtltd5698 11 месяцев назад

    Really amazing work

  • @ashimasingla103
    @ashimasingla103 Год назад

    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

  • @luisaruquipac.381
    @luisaruquipac.381 7 месяцев назад

    Excellent content! Thank you

  • @arnavthakur5409
    @arnavthakur5409 Год назад +1

    Thank you mam for sharing

  • @dibo1934
    @dibo1934 11 месяцев назад

    very helpful video

  • @jmxt3
    @jmxt3 Год назад

    Great video, thanks

  • @yasharazadvatan6673
    @yasharazadvatan6673 4 месяца назад

    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?

  • @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. 😊🙏

  • @MS-yy2dh
    @MS-yy2dh 5 месяцев назад +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.

  • @soravsingla6574
    @soravsingla6574 Год назад

    Very good video

  • @harshawithhonor6992
    @harshawithhonor6992 Год назад +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.

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

  • @ravindrakarande59
    @ravindrakarande59 Год назад +1

    Please share the dataset used in this video

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

  • @andreadotta73
    @andreadotta73 Год назад

    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  Год назад

      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 Год назад

      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

  • @Arceus948
    @Arceus948 10 месяцев назад

    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)

  • @НиколайНовичков-е1э

    Thank you!

  • @TekkenGamer7
    @TekkenGamer7 8 месяцев назад

    Can I use flatten() instead of Randomhorizontal()

  • @commoncats5437
    @commoncats5437 Год назад

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

  • @rainlarh5306
    @rainlarh5306 Год назад

    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  Год назад

      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']}

  • @felipemunoz6561
    @felipemunoz6561 Год назад +1

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

    • @CodeWithAarohi
      @CodeWithAarohi  Год назад

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

  • @deepakchaudhary3149
    @deepakchaudhary3149 11 месяцев назад +1

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

  • @karthickkuduva9819
    @karthickkuduva9819 8 месяцев назад

    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  8 месяцев назад +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 8 месяцев назад

      @@CodeWithAarohi thanks for your guidance mam

  • @JohnSmith-gu9gl
    @JohnSmith-gu9gl 7 месяцев назад

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

    • @DBWorld
      @DBWorld 6 месяцев назад +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 6 месяцев назад

      @@DBWorld thanks!

    • @Thejus_tv
      @Thejus_tv 5 месяцев назад

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

  • @dadadavid1409
    @dadadavid1409 4 месяца назад

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

    • @CodeWithAarohi
      @CodeWithAarohi  4 месяца назад

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

  • @Tothefutureand
    @Tothefutureand Год назад

    Yea

  • @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  Год назад

      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.

  • @imihhdude
    @imihhdude 11 месяцев назад

    Can the code snippet apply to multiple labels

  • @gowthamggp
    @gowthamggp Год назад

    Tq mam

  • @mohamedragab8644
    @mohamedragab8644 8 месяцев назад

    Where is the dataset

    • @CodeWithAarohi
      @CodeWithAarohi  8 месяцев назад +1

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

    • @mohamedragab8644
      @mohamedragab8644 8 месяцев назад

      @@CodeWithAarohi
      Thank you ❤️

  • @shaikhyaqoob-001
    @shaikhyaqoob-001 9 месяцев назад

    how can i get this dataset

    • @CodeWithAarohi
      @CodeWithAarohi  9 месяцев назад

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

  • @Sunil-ez1hx
    @Sunil-ez1hx Год назад

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

  • @Ai_Engineer
    @Ai_Engineer Год назад

    where i can get the datasets

    • @CodeWithAarohi
      @CodeWithAarohi  11 месяцев назад

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

  • @krishnazala8735
    @krishnazala8735 10 месяцев назад

    can you provide dataset

  • @NabeelBaig-p1y
    @NabeelBaig-p1y Год назад

    Where is Dataset?

  • @adelilyasgoffa2717
    @adelilyasgoffa2717 Год назад

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

  • @arnavthakur5409
    @arnavthakur5409 Год назад +1

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