Code With Aarohi

Code With Aarohi

This is a place where you can find detailed tutorials on Data Science, Data Analysis, Artificial Intelligence, Machine Learning, Deep Learning and computer vision with proper implementation of every topic.

Email: [email protected]

Subscribe to my channel to get latest videos on emerging technologies.

YOLOv9 on Jetson Nano

YOLOv9 on Jetson Nano

YOLOv9 Paper explained

YOLOv9 Paper explained

Пікірлер

  • @user-fh5jo3ci7b
    @user-fh5jo3ci7b7 сағат бұрын

    In the third lecture you explained in advance, jetpack sdk 4.4 version was installed, but in the current lecture, it is explained in 4.6 version. Is there any problem if you look at the previous lecture and use 4.4 version to install pytorch through the current video and follow the video?

  • @user-fh5jo3ci7b
    @user-fh5jo3ci7b8 сағат бұрын

    Please let me know how to do it with the custom dataset downloaded from roboflow.

  • @karthickkuduva9819
    @karthickkuduva98198 сағат бұрын

    Aashiqui 2 - Aarohi ❌️ Code with Aarohi ❤

  • @SMustafaBasturk
    @SMustafaBasturk9 сағат бұрын

    Hello, I appreciate your work. However, when I went a little deeper into the project, I saw that the c3d model performed very poorly in alternative videos. Is there another source you can give for using other models such as i3d models? I wanted to ask you because it is impossible for me to train this i3d model on my own computer. So I am waiting for your answer 🙏

  • @rishabhjangid5575
    @rishabhjangid557514 сағат бұрын

    Can we convert yolov10 custom trained model to quantised tflite model

  • @soravsingla8782
    @soravsingla878214 сағат бұрын

    Amazing video

  • @soravsingla8782
    @soravsingla878214 сағат бұрын

    Very nice

  • @jensYSsck
    @jensYSsck16 сағат бұрын

    Thank you so much. it really helped me

  • @CodeWithAarohi
    @CodeWithAarohi16 сағат бұрын

    Glad it helped!

  • @diego145763
    @diego14576321 сағат бұрын

    hi, nice video detections = sv.Detections.from_coco_annotations(coco_annotation=annotations) it says AttributeError: type object 'Detections' has no attribute 'from_coco_annotations'

  • @diego145763
    @diego14576320 сағат бұрын

    after downgrading the supervision, it works but for labels = [ f"{id2label[class_id]}" for _, _, class_id, _ in detections ] it says ValueError: too many values to unpack (expected 4)

  • @tonya4092
    @tonya409223 сағат бұрын

    I really enjoyed your video. I found it to be very concise.

  • @CodeWithAarohi
    @CodeWithAarohi20 сағат бұрын

    Glad you enjoyed it!

  • @animexworld6614
    @animexworld6614Күн бұрын

    Great Content

  • @CodeWithAarohi
    @CodeWithAarohi20 сағат бұрын

    Thanks!

  • @user-fh5jo3ci7b
    @user-fh5jo3ci7bКүн бұрын

    Thank you for the good video. I did what you told me to do and also checked that the video came out of the camera. But the window where the camera comes out is so big that there is no 'x' button to close the window. Is there any way to make the camera window appear small on the monitor like you? The camera window I came out of takes up about half of the monitor.

  • @Kishi1969
    @Kishi1969Күн бұрын

    Dear ma,your video is excellent,do you have it with data custom datasets please..can you share with me the link with same method but with custom datasets please.. Waiting to read from you soon

  • @CodeWithAarohi
    @CodeWithAarohi20 сағат бұрын

    Sorry, I don't have video for that.

  • @patis.IA-AI
    @patis.IA-AIКүн бұрын

    Thanks

  • @CodeWithAarohi
    @CodeWithAarohiКүн бұрын

    Welcome

  • @karthickkuduva9819
    @karthickkuduva9819Күн бұрын

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

  • @CodeWithAarohi
    @CodeWithAarohiКүн бұрын

    Glad to hear that

  • @onewhoflutters4866
    @onewhoflutters48662 күн бұрын

    Thanks a lot for the video. I have a question. @CodeWithAarohi why did you use kotlin instead of java like in yolov5 android app?

  • @CodeWithAarohi
    @CodeWithAarohiКүн бұрын

    Android Studio recommended it. When creating an app in Android Studio, there's an option to choose between Java and Kotlin. Since "recommended" is written next to Kotlin, I chose it. Additionally, some of my subscribers requested that I work with Kotlin :)

  • @GianmarcoGoycocheaCasas
    @GianmarcoGoycocheaCasas2 күн бұрын

    There is any solution for this?: RuntimeError: CUDA error: out of memory CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

  • @CodeWithAarohi
    @CodeWithAarohi2 күн бұрын

    Reduce batch size

  • @airlangpark6596
    @airlangpark65962 күн бұрын

    could you please create YOLOv8 android app that use onnx

  • @user-hy8zw1wm6n
    @user-hy8zw1wm6n2 күн бұрын

    i am following the same porcess as you said but when i open the jupyter notebook it is not asking password for keyring and the python example folder is missing in that when i open the jupyter notebook and i'm getting the error as CAN'T INTIALIZE NVRM CHANNEL what may be the issue? please reply for this as this issue is unsolved for many people

  • @CodeWithAarohi
    @CodeWithAarohi2 күн бұрын

    You can skip using jupyter notebook. Just create a file with .py extension, apste the code in it. Run it from terminal

  • @user-hy8zw1wm6n
    @user-hy8zw1wm6n2 күн бұрын

    @@CodeWithAarohi I tried to run the python file in terminal but i am getting error like "FileNotFoundError: test/1.jpg does not exist" if possible please share the python example folder

  • @sairampenjarla
    @sairampenjarla2 күн бұрын

    hi, Good explanation but at the end, when you explained what would be the input to the decoder's masked multi-head attention, you fumbled and didn't explain clearly. But the rest of the video was very good.

  • @CodeWithAarohi
    @CodeWithAarohi2 күн бұрын

    Thank you for the feedback!

  • @rickyS-D76
    @rickyS-D762 күн бұрын

    Very nice explanation, thank you! I tried to follow the tutorial but got stuck when i got, "'yolo' is not recognized as an internal or external command, operable program or batch file." while i tried to predict, "!yolo task=detect mode=predict conf=0.25 save=True......".... any comments on that?

  • @CodeWithAarohi
    @CodeWithAarohi2 күн бұрын

    github.com/ultralytics/ultralytics/issues/6281

  • @GianmarcoGoycocheaCasas
    @GianmarcoGoycocheaCasas2 күн бұрын

    Thank you for the explanation. However, when i have applied 'python segment/predict.py ....'. I got this error: AttributeError: 'list' object has no attribute 'shape'. Any solution???

  • @GianmarcoGoycocheaCasas
    @GianmarcoGoycocheaCasas2 күн бұрын

    Thank so much Mrs Aarohi, i found the solution below: Comment line 126 of predict.py file and write this line: # Just correct it as follows masks = process_mask(proto[-1][i], det[:, 6:], det[:, :4], im.shape[2:], upsample=True)

  • @SaiSira
    @SaiSira2 күн бұрын

    🎯 Key Takeaways for quick navigation: YOLOv10 introduces a feature called "NMS free training" to avoid duplicate bounding boxes for the same object, reducing postprocessing time and computational resources. Spatial Channel Decoupled Down sampling in YOLOv10 separates spatial and channel operations to make downsampling more efficient, using pointwise and depthwise convolutions. Rank Guided Block Design in YOLOv10 adjusts model stages based on redundancy levels, improving efficiency by allocating compact inverted blocks where necessary. Lightweight classification heads in YOLOv10 are designed to be efficient in assigning labels without compromising accuracy. Made with HARPA AI

  • @user-uq1qq7pj8h
    @user-uq1qq7pj8h2 күн бұрын

    Hello Madam, Thank you for your continuous support to students like me. I'm curious if you've implemented real-time YOLO image detection using a mobile phone's back camera from a browser before. Specifically, when a user opens the Flask web app and clicks a button, the back camera should automatically open and display live predictions. Currently, I can achieve this with a laptop webcam by setting the source to 0, but it doesn't work on a mobile phone. Do you have any sample projects or resources on how to do this? Your guidance means a lot.

  • @CodeWithAarohi
    @CodeWithAarohi2 күн бұрын

    You can install IPcamera app on your phone and pass that ip camera address in source. I think this will work.

  • @user-uq1qq7pj8h
    @user-uq1qq7pj8h2 күн бұрын

    @@CodeWithAarohi I see, alright noted madam. Thanks a lot for your help Madam✨😇

  • @yahiryablonsky1716
    @yahiryablonsky17163 күн бұрын

    Hi, first of all thank u for this amazing content. I want to ask you a question. I am trying to create a model based on YoloV8 to detect the color of the traffic light. I am having an issue that when I use the train model with the camera in video mode, the model takes a while but detect the traffic light but when I try to detect only by sending one frame, the detection is null. I do not understand why when you send multiple frames it gives you a better detection. Could you help me with this? Thank u

  • @UniversalConnexions
    @UniversalConnexions3 күн бұрын

    I'm trying to implement the model with my custom java code but can't seem to scalep : private List<ObjectDetectionResult> processOutput(float[] outputData) { allResults = new ArrayList<>(); int numDetections = outputData.length / (NUM_VALUES_PER_DETECTION + labels.size()); for (int i = 0; i < numDetections; i++) { if(outputData[i * 8 + 4] > NMS_THRESHOLD){ int detectionOffset = i * (NUM_VALUES_PER_DETECTION + labels.size()); float confidence = outputData[detectionOffset]; if (confidence < CONFIDENCE_THRESHOLD) continue; float centerX = outputData[detectionOffset] * 640; float centerY = outputData[detectionOffset + 1] * 640; float width = outputData[detectionOffset + 2] * 640; float height = outputData[detectionOffset + 3] * 640; float scaleFactorX = surfaceView.getWidth() * 1f / 640; float scaleFactorY = surfaceView.getHeight() * 1f / 640; // Calculer les positions relatives à l'image redimensionnée float left = centerX - width / 2; float top = centerY - height / 2; float right = centerX + width / 2; float bottom = centerY + height / 2; RectF boundingBox = new RectF(left, top, right, bottom); OR // Convertir les coordonnées du modèle en pixels de l'image d'entrée (640x640) float centerX = outputData[detectionOffset] * 640; float centerY = outputData[detectionOffset + 1] * 640; float width = outputData[detectionOffset + 2] * 640; float height = outputData[detectionOffset + 3] * 640; // Calculer les positions relatives à l'image redimensionnée float left = centerX - width / 2; float top = centerY - height / 2; float right = centerX + width / 2; float bottom = centerY + height / 2; // Mettre à l'échelle les coordonnées en fonction des dimensions de la surfaceView left *= scaleFactorX; top *= scaleFactorY; right *= scaleFactorX; bottom *= scaleFactorY; RectF boundingBox = new RectF(left, top, right, bottom); doesn't work

  • @manmeetsingh351
    @manmeetsingh3513 күн бұрын

    Hey i installed yolov7 but when i run the command for python train.py ……. P5.yaml i got the error illegal instruction (core dumped)

  • @user-vb8um5hp9s
    @user-vb8um5hp9s3 күн бұрын

    isn't that a yolov8?

  • @ariouathanane
    @ariouathanane3 күн бұрын

    What's about the extra class? and i think that only the extra class is used for the classification. Please could you explain this point?

  • @bay-bicerdover
    @bay-bicerdover3 күн бұрын

    Good comparison! Well done! 👏🏻

  • @CodeWithAarohi
    @CodeWithAarohi3 күн бұрын

    Glad it was helpful!

  • @laobejapequena
    @laobejapequena3 күн бұрын

    Thankyou, extremely useful video, better than most. Keep your excellent presentations.

  • @CodeWithAarohi
    @CodeWithAarohi3 күн бұрын

    Many thanks!

  • @davidxu8352
    @davidxu83524 күн бұрын

    I am getting this error after finishing training the model when I want to predict (inference): i !yolo task=detect mode=predict conf=0.25 save=True model=runs/detect/train/weights/best.pt source=test_images_1/veh2.jpg 32 try: 33 # Issuing `None` to a generator fires it up 34 with ctx_factory(): ---> 35 response = gen.send(None) 37 while True: 38 try: ... --> 216 bs = prediction.shape[0] # batch size 217 nc = nc or (prediction.shape[1] - 4) # number of classes 218 nm = prediction.shape[1] - nc - 4 AttributeError: 'dict' object has no attribute 'shape' Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings...

  • @CodeWithAarohi
    @CodeWithAarohi3 күн бұрын

    add prediction = prediction['one2many'][0] to File "yolov10-main\ultralytics\utils\ops.py", line 216, in non_max_suppression bs = prediction.shape[0] # batch size final code: prediction = prediction['one2many'][0] bs = prediction.shape[0]

  • @manmeetsingh351
    @manmeetsingh3514 күн бұрын

    I got error when i put the requirements.txt command. it says could not find a version that satisfies the requirement gitpython

  • @CodeWithAarohi
    @CodeWithAarohi3 күн бұрын

    You can remove the the version of gitpython from requirements.txt. Just write "gitpython" and then try to install the requirements

  • @TomislavLevakovic
    @TomislavLevakovic4 күн бұрын

    Great, as always ! Thank you ! I have one stupid question...Why Ultralytics says it is version ultralytics-8.1.34, i expect v10 will be V10?? Can you explain? Thanks !

  • @CodeWithAarohi
    @CodeWithAarohi3 күн бұрын

    Because YOLOv10 is built on Ultralytics package. If you will open the official github repo of yolov10, you will see "ultralytics" folder there.

  • @TomislavLevakovic
    @TomislavLevakovic3 күн бұрын

    @@CodeWithAarohi Thank you for answer, i understand that part. But, official package which you can install with pip, is on 8.2.23 version already. That is what confuses me. What is the difference between all those versions?? For example, why V10 cannot be installed on top of 8.2.23 version? Please, clafiry, beacuse for us, newcomers, it is very confusing all those versions and repos. Thank you !

  • @aiforeveryone
    @aiforeveryone4 күн бұрын

    Amazing👍

  • @CodeWithAarohi
    @CodeWithAarohi3 күн бұрын

    Thanks!

  • @harshays2873
    @harshays28734 күн бұрын

    could you please make a video on yolo world custom dataset training

  • @CodeWithAarohi
    @CodeWithAarohi4 күн бұрын

    For custom training of such models you need lot of data and variety of data which I don’t have to train custom yolo-world model. So, I can’t help you

  • @harshays2873
    @harshays28733 күн бұрын

    @@CodeWithAarohi if possible could you please explain input data format so that we can try our own, it will be helpful, help us with initial training set up and data preparation.

  • @CodeWithAarohi
    @CodeWithAarohi3 күн бұрын

    Check this page: docs.ultralytics.com/models/yolo-world/#set-prompts

  • @harshays2873
    @harshays28732 күн бұрын

    @@CodeWithAarohi Thank you

  • @allanjobs3595
    @allanjobs35954 күн бұрын

    Hi, I facing some error while I try to run this code in anaconda ! can you please share a video how to create a new env for that using GPU

  • @CodeWithAarohi
    @CodeWithAarohi3 күн бұрын

    THis is how you can create environment: 1- Download and Install Python 2- Open your terminal (Command Prompt on Windows, Terminal on macOS/Linux). 3- Navigate to the directory where you want to create your project. 4- Then run these commands to create and activate environment: 5- python -m venv venv 6- venv\Scripts\activate

  • @WIRO13
    @WIRO134 күн бұрын

    Hi, thanks for the excellent demostration!

  • @CodeWithAarohi
    @CodeWithAarohi4 күн бұрын

    Glad you enjoyed it!

  • @yeongnamtan
    @yeongnamtan4 күн бұрын

    Thank you for the clear explanation. Can you do one incorporating DeepSort tracking ?

  • @CodeWithAarohi
    @CodeWithAarohi4 күн бұрын

    Will try!

  • @nitinrai6093
    @nitinrai60934 күн бұрын

    suggestion: consider using jupyterlab and a dark theme.

  • @CodeWithAarohi
    @CodeWithAarohi4 күн бұрын

    Thank you for the suggestion

  • @Ferdinando_90daConceicao
    @Ferdinando_90daConceicao4 күн бұрын

    Interesting!

  • @CodeWithAarohi
    @CodeWithAarohi4 күн бұрын

    Glad you think so!

  • @faizarehman2943
    @faizarehman29435 күн бұрын

    Can you please guide me why other weights of YOLOV10 is not working on colab because small ansd nano are working.

  • @CodeWithAarohi
    @CodeWithAarohi4 күн бұрын

    Not sure because haven't tried all the weights yet!

  • @faizarehman2943
    @faizarehman29434 күн бұрын

    @@CodeWithAarohi can you please try other weights and guide me to solve my issue.

  • @angie99999
    @angie999995 күн бұрын

    Hi Aarohi, thank you for the video. Wondering I used Git clone to download bbox-label-tool package, but inside it I could not see the three files you said "bbox tool""convert""and proces", wondering if they have been removed? thank you.

  • @CodeWithAarohi
    @CodeWithAarohi4 күн бұрын

    Maybe. I haven't used this tool after this video. So no idea.

  • @sozno4222
    @sozno42225 күн бұрын

    I love your channel. Really great stuff. If you can, I suggest buying an external microphone. Improved sound quality would do wonders to improve the quality of the videos.

  • @CodeWithAarohi
    @CodeWithAarohi4 күн бұрын

    Thanks, will do!

  • @jayathissaaral2598
    @jayathissaaral25985 күн бұрын

    i have a little problem. why jupyter notebook all text display same color. this issue same as in my computer. do you know a way fix this ?

  • @nitinrai6093
    @nitinrai60934 күн бұрын

    This may be because you may have converted the cell to markdown type, can you confirm if you can execute code on that cell? if not try converting it to code block again by 1. click on the cell > 2. hit esc button > 3. press M > 4. Press Y

  • @jayathissaaral2598
    @jayathissaaral25984 күн бұрын

    ​@@nitinrai6093 no bro, in this video arohi selected code cell type. But still same as markdown cell type look

  • @jayathissaaral2598
    @jayathissaaral25985 күн бұрын

    🥰🥰

  • @g.s.3389
    @g.s.33895 күн бұрын

    where can I find a license plate dataset for Italy? or the one you used works anyway?

  • @CodeWithAarohi
    @CodeWithAarohi4 күн бұрын

    The one I have used is present in github repo. Link shared in description section.

  • @g.s.3389
    @g.s.33894 күн бұрын

    @@CodeWithAarohi italian plates are different, will it work anyway?

  • @CodeWithAarohi
    @CodeWithAarohi4 күн бұрын

    @@g.s.3389 if they are different then you need to prepare dataset according to that.

  • @user-cs9en8wj5g
    @user-cs9en8wj5g5 күн бұрын

    The title of the video is "Object Detection Web Application with Flask and YOLOv9", but you're using YOLOv8. Please fix the title.

  • @CodeWithAarohi
    @CodeWithAarohi4 күн бұрын

    Sure! Thanks

  • @emmanuelakpaklikwasi4300
    @emmanuelakpaklikwasi43005 күн бұрын

    You are very good at what you do… trust me! After deploying it on android. How can I share the application or how someone else could get it

  • @CodeWithAarohi
    @CodeWithAarohi4 күн бұрын

    Generate APK file and then upload the app on google play store.

  • @mdk1171
    @mdk11715 күн бұрын

    thank you can't wait to see you working on it

  • @CodeWithAarohi
    @CodeWithAarohi4 күн бұрын

    Hope you like it!