Skip to content

Commit

Permalink
fix init (PaddlePaddle#8377)
Browse files Browse the repository at this point in the history
Co-authored-by: lugimzzz <zhenglujing@baidu.com>
  • Loading branch information
ZHUI and lugimzzz committed May 17, 2024
1 parent debb2ad commit 20870bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
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

0 comments on commit 20870bd

Please sign in to comment.