mirror of
https://github.com/SikongJueluo/Mini-Nav.git
synced 2026-07-12 20:15:31 +08:00
refactor(compressors): consolidate pipeline and improve mask handling
This commit is contained in:
@@ -102,7 +102,7 @@ class FeatureRetrieval:
|
||||
{
|
||||
"id": i,
|
||||
"label": batch_label,
|
||||
"vector": cls_tokens[i].numpy(),
|
||||
"vector": cls_tokens[i].detach().cpu().numpy(),
|
||||
"binary": pil_image_to_bytes(images[i]),
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user