@functools.lru_cache
def func():
...
very useful for loading/rolling out huge image features.
@functools.lru_cache
def func():
...
very useful for loading/rolling out huge image features.
class MetaCls(type): def __new__(cls, *args, **kwargs): print("in MetaCls") # return super(Meta