You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* * refine perf bench workflow
* fix wrong var in sphinx docs
* * refine perf bench workflow
* * fix wrong var in sphinx docs
* * set python version matrix to include only 3.9 and 3.10
* * hide unnecessary logs
* * update mem_required for image tagging models
* * enable unittests for 3 OPs due to dependency
* + add two dependencies by librosa
Copy file name to clipboardexpand all lines: configs/config_all.yaml
+3
Original file line number
Diff line number
Diff line change
@@ -212,6 +212,7 @@ process:
212
212
radius: 2# radius of blur kernel
213
213
- image_tagging_mapper: # Mapper to generate image tags.
214
214
tag_field_name: '__dj__image_tags__'# the field name to store the tags. It's "__dj__image_tags__" in default.
215
+
mem_required: '9GB'
215
216
- nlpaug_en_mapper: # simply augment texts in English based on the nlpaug library
216
217
sequential: false # whether combine all augmentation methods to a sequence. If it's True, a sample will be augmented by all opened augmentation methods sequentially. If it's False, each opened augmentation method would generate its augmented samples independently.
217
218
aug_num: 1# number of augmented samples to be generated. If `sequential` is True, there will be total aug_num augmented samples generated. If it's False, there will be (aug_num * #opened_aug_method) augmented samples generated.
@@ -382,6 +383,7 @@ process:
382
383
frame_sampling_method: 'all_keyframes'# sampling method of extracting frame images from the videos. Should be one of ["all_keyframes", "uniform"]. The former one extracts all key frames and the latter one extract specified number of frames uniformly from the video. Default: "all_keyframes".
383
384
frame_num: 3# the number of frames to be extracted uniformly from the video. Only works when frame_sampling_method is "uniform". If it's 1, only the middle frame will be extracted. If it's 2, only the first and the last frames will be extracted. If it's larger than 2, in addition to the first and the last frames, other frames will be extracted uniformly within the video duration.
384
385
tag_field_name: '__dj__video_frame_tags__'# the field name to store the tags. It's "__dj__video_frame_tags__" in default.
386
+
mem_required: '9GB'
385
387
- whitespace_normalization_mapper: # normalize different kinds of whitespaces to English whitespace.
386
388
387
389
# Filter ops
@@ -614,6 +616,7 @@ process:
614
616
frame_num: 3# the number of frames to be extracted uniformly from the video. Only works when frame_sampling_method is "uniform". If it's 1, only the middle frame will be extracted. If it's 2, only the first and the last frames will be extracted. If it's larger than 2, in addition to the first and the last frames, other frames will be extracted uniformly within the video duration.
615
617
tag_field_name: '__dj__video_frame_tags__'# the field name to store the tags. It's "__dj__video_frame_tags__" in default.
616
618
any_or_all: any # keep this sample when any/all videos meet the filter condition
619
+
mem_required: '9GB'
617
620
- words_num_filter: # filter text with number of words out of specific range
618
621
lang: en # sample in which language
619
622
tokenization: false # whether to use model to tokenize documents
0 commit comments