-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why does traffic analysis output differ from the video in readme file? #1594
Comments
FYI, I used roboflow API instead of running it locally. cc: @onuralpszr |
I see that default model id is cc: @onuralpszr |
8 is giving resource error |
That is dataset not model so default 6 is correct |
v8 as model not exist so it is correct |
Out of curiosity what is your inference version ? |
I got this warning message before running the script:
but ignored it anyway because that's what is being used in requirements.txt cc: @onuralpszr |
Just now I trained a new model using my custom data (just 2 4k images) and its results are wayyy better that current one |
here are the results: https://drive.google.com/drive/folders/1bzHpSBSRi3nbFa7i-BdMZjTRbpqnp3nc?usp=sharing ccL @onuralpszr |
@PawelPeczek-Roboflow can you help me out on this one please I was able to generate the same problematic video and I tried version in written req.txt and I tried latest version of inference to test and my thought was current code is not using conf and iou values then I used latest version with parameters I checked in documentation and still same results. Either model in roboflow universe problematic or inference code doing something weird Latest version of inference changes I made in example code (code snippet not entire code)
cc @LinasKo |
I tested on both cases yes and I did the same thing too |
You used inference local model run right ? |
Nope, used Roboflow API with the same inference code as is with same version dependencies. The only change that I made is - replacing the model id with my newly trained model ID. Based on this I think everything working just fine at code level. |
For code level yes It should be fine that I am sure I am converting this to Q&A discussion and continue from there. Also you could you share your ID if it is public please |
Yes the one that I used for this cc: @onuralpszr I'm using the model for running some inference jobs right now (15mins more remaining). |
@onuralpszr do not really know the context, could you elaborate a little bit more? |
Hi @INF800 👋 Based on the video, it's likely that InferenceSlicer was used to help detect small objects. Have you tried using it? Next, it would help if you could share some code you used to run the model. Specifically, I'm curious what code you ran that produced poor results initially. |
In basic context, inference example in here https://github.com/roboflow/supervision/tree/develop/examples/traffic_analysis doesn't show output of video in readme. |
ok, taken a look - first of all, the model trained for |
Hey @PawelPeczek-Roboflow, what do you mean by "a different class of model"? What kind of difference are we looking at? Model family, size, or a different dataset? |
not fully sure about details, but the weights size differ:
|
Curious. @INF800, data points to either the video being used as an example, or additional tool use such as I'll mark this as potentially misleading and investigate further later on. Thank you for reporting it. |
Search before asking
Question
I tried running the same code in readme to generate video outputs but accuracy is not upto mark.
Here are videos with different thresholds:
https://drive.google.com/drive/folders/1TFcEJcSvVSQXaMEYQTnhw2s-QNXP-LOz?usp=sharing
Additional
No response
The text was updated successfully, but these errors were encountered: