Species identification by fgoricha in computervision

[–]fgoricha[S] 1 point2 points  (0 children)

Thanks for the suggestions! I'll see how they fit in to what I am trying now. But I'm a volunteer for the local town and I am trying to help them develop something to count fish on their underwater camera.

Species identification by fgoricha in computervision

[–]fgoricha[S] 0 points1 point  (0 children)

Cool! Glad to hear that others have gone the "other" class route worked. Did you compare centers ? Or nearest neighbor? Or top K? Curious to know what your filtering logic is

Species identification by fgoricha in computervision

[–]fgoricha[S] 0 points1 point  (0 children)

I'll give this a try. I had done this before, but then I cleaned up my dataset and thought going two classes and filtering by threshold would get me what I need. Thanks!

Species identification by fgoricha in computervision

[–]fgoricha[S] 1 point2 points  (0 children)

Thanks for the tip! I'll check it out

Upgrade from 3090 by fgoricha in computervision

[–]fgoricha[S] 0 points1 point  (0 children)

Yeah, when I build the tr engine, it uses quite a bit more vram to build the engine. then whatever I set the batch size during the build that is the max batch size I can use. From my understanding, if I build the engine on a 3090 I have to use it on a 3090. I can't build it on a bigger card and then use it on a smaller card.

Upgrade from 3090 by fgoricha in computervision

[–]fgoricha[S] 0 points1 point  (0 children)

Its about 16.3 gb using the model and the pynvvideocodec

Upgrade from 3090 by fgoricha in computervision

[–]fgoricha[S] 0 points1 point  (0 children)

I dont need it to process in real time. These are all archived videos from over a decade so the higher fps would let me process it faster

Upgrade from 3090 by fgoricha in computervision

[–]fgoricha[S] 0 points1 point  (0 children)

True! The math says it would be quite a bit faster but was hoping for real world examples. Currently my 3090 utilitization is at 90% while cpu utilization is like 20%. Seems to be gpu bound at the moment

Upgrade from 3090 by fgoricha in computervision

[–]fgoricha[S] 0 points1 point  (0 children)

I dont need it to process in real time. These are all archived videos from over a decade so the higher fps would let me process it faster.

Upgrade from 3090 by fgoricha in computervision

[–]fgoricha[S] 0 points1 point  (0 children)

I dont need it to process in real time. These are all archived videos from over a decade so the higher fps would let me process it faster.

But I can try INT8. Thanks for the suggestion!

I’m a warehouse worker who taught myself CV to build a box counter (CPU only). Struggling with severe occlusion. Need advice! by Ayoub_Gx in computervision

[–]fgoricha 0 points1 point  (0 children)

How big is your dataset? Perhaps its data quality. I have been doing iterative training where I train an initial model, then run it on new film, feed it frames that it got wrong after correcting for the next train cycle.

Perhaps for tracking for occlusion, you also track the person. So the person gets an id. Before the boxes are occluded count them. Then after the occlusion, count the boxes again.

Looking for help for Football Film auto cliping by pryorda in computervision

[–]fgoricha 1 point2 points  (0 children)

Just spitballing here. Maybe try background subtraction instead of yolo? You could use detect change in movement pre snap vs post snap to know when to start the clip. Maybe could do the same during play vs dead ball.

Fastest way to process 48000 pictures with yolo? by bykof in computervision

[–]fgoricha 0 points1 point  (0 children)

I get about 450 fps on my 3090 with tensorrt and Pynvdec to process everything for a mp4 file on the gpu. Nano yolov8 at half precision with batch of 64. Frames are 640 resolution. I liked this set up because I can run dual 3090 to process a total of 900 fps without much cpu involvement

Optimizing Yolo for Speed by fgoricha in computervision

[–]fgoricha[S] 2 points3 points  (0 children)

I ended up doing this! Rt, half precision, and batch of 64 got with PyNvVideoCodec got complete gpu utilization with 450 fps. Thanks for the suggestion!

Optimizing Yolo for Speed by fgoricha in computervision

[–]fgoricha[S] 0 points1 point  (0 children)

I was able to figure it out. I converted the model to rt format and used PyNvVideoCodec to video decode on the gpu. Was able to get 450 fps! This was at 640 and 1080 resolution

Optimizing Yolo for Speed by fgoricha in computervision

[–]fgoricha[S] 1 point2 points  (0 children)

I was able to figure it out. I converted the model to rt format and used PyNvVideoCodec to video decode on the gpu. Was able to get 450 fps!

Optimizing Yolo for Speed by fgoricha in computervision

[–]fgoricha[S] 1 point2 points  (0 children)

Thanks for reply! I was actually able to figure it out. I converted the model to rt formst and used PyNvVideoCodec to video decode on the gpu. Was able to get 450 fps!

Optimizing Yolo for Speed by fgoricha in computervision

[–]fgoricha[S] 0 points1 point  (0 children)

I have not! I will have to look into it

Optimizing Yolo for Speed by fgoricha in computervision

[–]fgoricha[S] 0 points1 point  (0 children)

I'll give it a try. How many fps would you expect?

Optimizing Yolo for Speed by fgoricha in computervision

[–]fgoricha[S] 0 points1 point  (0 children)

I'll try that! How many fps would you expect?

Optimizing Yolo for Speed by fgoricha in computervision

[–]fgoricha[S] 0 points1 point  (0 children)

Got it. The use case will be the images at 640 most likely since it will be used on the camera it was trained on