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)?
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 flagextractor.extract_features(store_to_disk=True)
?