Skip to content

Commit

Permalink
Add DeiTFeatureExtractor
Browse files Browse the repository at this point in the history
  • Loading branch information
xenova committed Aug 26, 2023
1 parent 76b8556 commit f057317
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/processors.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ export class ImageFeatureExtractor extends FeatureExtractor {

export class ViTFeatureExtractor extends ImageFeatureExtractor { }
export class MobileViTFeatureExtractor extends ImageFeatureExtractor { }
export class DeiTFeatureExtractor extends ImageFeatureExtractor { }

/**
* Detr Feature Extractor.
Expand Down Expand Up @@ -1298,6 +1299,7 @@ export class AutoProcessor {
'WhisperFeatureExtractor': WhisperFeatureExtractor,
'ViTFeatureExtractor': ViTFeatureExtractor,
'MobileViTFeatureExtractor': MobileViTFeatureExtractor,
'DeiTFeatureExtractor': DeiTFeatureExtractor,
'DetrFeatureExtractor': DetrFeatureExtractor,

'SamImageProcessor': SamImageProcessor,
Expand Down

0 comments on commit f057317

Please sign in to comment.