timojl / clipseg

This repository contains the code of the CVPR 2022 paper "Image Segmentation Using Text and Image Prompts".
Other
1.13k stars 107 forks source link

Could you please share "all_splits.json" file? #53

Closed afountain closed 6 months ago

afountain commented 6 months ago

Thanks for your contribution, when using lvis db, there is "lvis_sample_areas.pickle" required, could you please share the file with me or share an example data structure of this file? Thanks in advance.

timojl commented 6 months ago

Thanks for your question. From what I remember it should indicate the sizes of the objects (in terms of relative image space occupied). I think the file contains a dictionary that maps from (image_id, object_id) (both as string) to the respective size (as float). Most likely you can just ignore the file. all_splits.json indicates the assignment to training and test sets for LVIS classes.