image_cache module

class datumaro.util.image_cache.ImageCache(capacity=2)[source]

Bases: object

static get_instance()[source]
__init__(capacity=2)[source]
push(item_id, image)[source]
get(item_id)[source]
size()[source]
clear()[source]