-
Notifications
You must be signed in to change notification settings - Fork 100
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
Optionally return empty LabeledFrames when no predictions within a frame #396
Comments
Hi @iteal, So regarding the first error: this will be fixed in 1.1 along with a variety of other fixes related to inference. This happens when no instances are found on a particular frame, but in the future we'll just skip them. The second point: Sure, we can add an option like that. If you make them into a We'll add some more tutorials for fancier access patterns with 1.1, but I'll keep this issue open to track the feature request of returning blank |
- Rewrote CLI. - Now uses more standardized methods for data loading, model building, and inference. - Remove most of the dynamically generated args in favor of a flat list of args. - Deprecate a bunch of redundant args. These still work, they're now just hidden from the help. - Enable single provider inference for labels rather than predicting video-by-video. - More informative logging. - Add option for removing empty frames. By default it keeps empty frames (#396) - Add a lot more provenance information. - Unified inference progress bar for GUI, console AND notebooks (#453)! - JSON progress output for custom handling via stdout capture. - Add Predictor.from_model_paths() constructor for single entrypoint instantiation of subclasses from paths. - Remove unused imports and MockPredictor class. - Add peak_threshold to load_model() high level API. - Docstrings and typing
Closing because this is now the default in inference in v1.1.0 with a CLI arg to revert it ( |
Hi!
I have an issue with the BottomupPredictor for one of my videos. I get the following warning during inference:
This is my code:
The problem is the length of the result predictions don't match the length of my input...
I think I can use "frame_idx" in the LabeledFrame object to find out which frame corresponds to what, but this is not super user friendly.
Would it be possible to modify the implementation to return the same amount of LabeledFrame as inputs? Even if the LabeledFrame instances are empty? And maybe explain what this "Tried to stack elements" error mean too?
Thanks!
The text was updated successfully, but these errors were encountered: