v0.16.3
PawelPeczek-Roboflow
released this
22 Aug 19:23
·
2226 commits
to main
since this release
🔨 Fixed
- Roboflow Dataset Upload block now can be dynamically configured with labelling batch prefixes passed as workflow inputs. Additionally
predictions
parameter is now optional - which means that you can upload images without predictions in your workflows - all thanks to @NickHerrig #586 - @chandlersupple fixed Perspective Correction Block in #589
- @robiscoding added missing
inference_id
for classification responses in #591 - @PacificDou in #592 introduced changes to
inference
server routing that were required to enhance Dedicated Deployment functionality - Added limits for execution time of GHA in #596
🚀 Added
SAM2 extension
While making inference from SAM2 model you may request inference
package and inference
server to cache prompts and low-resolution masks from your inputs to be re-used later on upon request. You are given two parameters (both in SAM2 request payload and SegmentAnything2.segment_image(...)
method:
save_logits_to_cache
load_logits_from_cache
which decide how the functionality should work. Saving logits masks to cache will make it possible, to re-use them for consecutive inferences agains the same image. Enabling loading triggers search through cache intended to find the most similar prompt cached for this specific image to retrieve its mask. The mechanism is useful when the same image is segmented multiple times with slightly different sets of prompts - as injecting previous masks in that scenario may lead to better results:
Before | After |
---|---|
Please note that this feature is different than cache for image embeddings which speed consecutive requests with the same image up and if you don't wish the feature to be enabled, set DISABLE_SAM2_LOGITS_CACHE=True
in your env.
🏅 @probicheaux and @tonylampada added the functionality in #582
Remaining changes
- @EmilyGavrilenko added Workflow block search metadata to improve UI experience in #588
- @grzegorz-roboflow added internal parameter for workflows request denoting preview in UI #595
- @grzegorz-roboflow improved usage tracking extending it to models in #601 and #548
workflows
equipped with new batch-oriented input -VideoFrameMetadata
letting blocks to process videos statefully see #590, #597 more docs will come soon
Full Changelog: v0.16.2...v0.16.3