-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fix progress bar updating during bag generation - Add `show_progress` keyword argument for the feature extractor `tfrecord_inference()` method, for optionally displaying a progress bar. - Add new `run_batched_inference()` method to pytorch feature extractors, used for generating features from a large tensor dataset of images. - When generating features (using a feature extractor) from a loaded pytorch tensor of images, add a new `batch_size` argument that runs batch inference, decreasing memory requirements: ``` ctranspath = sf.build_feature_extractor('ctranspath') images = torch.load(...) features = ctranspath(images, batch_size=32) ```
- Loading branch information
1 parent
fec8fc5
commit a2d0edb
Showing
3 changed files
with
43 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters