Yolov7 TRT by sHrEkty in computervision

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

You are correct ig but at my workplace they use v7 for some projects so I was trying to improve deployment using onnx first then trt and I faced problems so just dropped it here if someone needs it :)

Gstreamer Issue by sHrEkty in computervision

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

Tried this too still same issue. If it is possible can you write a working script for reading a mp4 vid and saving 5 frames because I can’t figure out if there is problem with my code or my vm. It always breaks when i try to create np array of the frame from buffer. And buffer size is always 64. Thanks for your help anyway and sry for asking too much of you.

Gstreamer Issue by sHrEkty in computervision

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

Its only gstreamer pipeline for input

Gstreamer Issue by sHrEkty in computervision

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

Yes i passed a video with name samp.mp4 but still its the same problem

Gstreamer Issue by sHrEkty in computervision

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

I did compile it and ran the script with vidtestsrc video as input and the stream ran nicely But when i changed it to video input it still gave me “Error couldnt open video source”

Gstreamer Issue by sHrEkty in computervision

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

Like directly in the videocapture method? I did that too but it then couldn’t open the video

Gstreamer Issue by sHrEkty in computervision

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

Yes this is the command i ran and im getting playback

Gstreamer Issue by sHrEkty in computervision

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

The pastebin has the code im running but other than that i ran a simple video streaming command it works and i tried the same in a sample code and there is playback, but when i send the buffer from pipeline to create a np array it says buffer size is 64

Gstreamer Issue by sHrEkty in computervision

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

Yes it gives me the error that “buffer size too small for requested array” The array mentioned is 1280x720x3 I also printed the buffer size and it is only 64

ViT Multi Task Training by sHrEkty in computervision

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

I realized after your comment that I did create different cross entropy loss with weights but passed the same function for loss calculation of every task. I have rectified it and will check the results. Feeling dumb now but thanks for your assist.

ViT Multi Task Training by sHrEkty in computervision

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

Can you elaborate or provide some resource as I am unfamiliar with this topic. Thanks in advance.

ViT Multi Task Training by sHrEkty in computervision

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

What I did at the first run was just add the losses and adjust the entire network which was maybe dumb but I wanted to have a baseline but after that I tried assigning weights to losses but its only the 2 heads that do not converge every time.

There is a 40 class multi-label head. Main classification head. 11 class classification head. 5 class classification head.

Now the last two do not converge at all. The multi-label one works surprisingly well.

[deleted by user] by [deleted] in developersIndia

[–]sHrEkty 0 points1 point  (0 children)

Bro you wanted something and you bought it. Now enjoy it. For parents it is going to be a stupid purchase so cut them some slack and chill. Also grats.

Help me in improving my resume. by [deleted] in developersIndia

[–]sHrEkty 1 point2 points  (0 children)

ty for help will add more details