thingsvision
thingsvision copied to clipboard
Implement low-memory option for feature extraction
Right now, features are stored in RAM when calling extractor.extract_features(...)
, which quickly makes memory usage explode. It might be a good idea to enable a low-memory option that just writes features to disk immediately.
Maybe add an output path to the extractor extractor = Extractor(out_path='...')
and an extra flag extractor.extract_features(store_to_disk=True)
?