forked from Vidit-Ostwal-zz/BeRC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflow.yml
33 lines (33 loc) · 800 Bytes
/
flow.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
jtype: Flow
version: "1"
with:
port_expose: 45678
executors:
- name: "segmenter"
uses: AudioSegmenter
uses_with:
window_size: 4
stride: 2
py_modules:
- executors.py
- name: "encoder"
uses: "jinahub://VGGishAudioEncoder/v0.6"
uses_with:
traversal_paths: "@c"
load_input_from: "waveform"
min_duration: 4
install_requirements: True
volumes:
- "./models:/workspace/models"
- name: "indexer"
uses: "jinahub://SimpleIndexer/v0.15"
uses_with:
match_args:
limit: 5
traversal_left: "@c"
traversal_right: "@c"
install_requirements: True
- name: ranker
uses: MyRanker
py_modules:
- executors.py