Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test init #8377

Merged
merged 1 commit into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/transformers/clap/test_feature_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def __init__(
self.feature_size = feature_size
self.chunk_length = chunk_length
self.hop_length = hop_length
super().__init__()

def prepare_feat_extract_dict(self):
return {
Expand Down
1 change: 1 addition & 0 deletions tests/transformers/ernie_vil/test_image_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def __init__(
self.image_mean = image_mean
self.image_std = image_std
self.do_convert_rgb = do_convert_rgb
super().__init__()

def prepare_image_processor_dict(self):
return {
Expand Down
1 change: 1 addition & 0 deletions tests/transformers/speecht5/test_feature_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def __init__(
self.fmax = fmax
self.mel_floor = mel_floor
self.return_attention_mask = return_attention_mask
super().__init__()

def prepare_feat_extract_dict(self):
return {
Expand Down
Loading