Skip to content

Commit 2f3faff

Browse files
ZHUIlugimzzz
andauthored
fix init (#8377)
Co-authored-by: lugimzzz <zhenglujing@baidu.com>
1 parent 0f45875 commit 2f3faff

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

tests/transformers/clap/test_feature_extraction.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ def __init__(
6868
self.feature_size = feature_size
6969
self.chunk_length = chunk_length
7070
self.hop_length = hop_length
71+
super().__init__()
7172

7273
def prepare_feat_extract_dict(self):
7374
return {

tests/transformers/ernie_vil/test_image_processing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def __init__(
5858
self.image_mean = image_mean
5959
self.image_std = image_std
6060
self.do_convert_rgb = do_convert_rgb
61+
super().__init__()
6162

6263
def prepare_image_processor_dict(self):
6364
return {

tests/transformers/speecht5/test_feature_extraction.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ def __init__(
8181
self.fmax = fmax
8282
self.mel_floor = mel_floor
8383
self.return_attention_mask = return_attention_mask
84+
super().__init__()
8485

8586
def prepare_feat_extract_dict(self):
8687
return {

0 commit comments

Comments
 (0)