forked from SingleView11/DataSEA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.py
30 lines (24 loc) · 883 Bytes
/
app.py
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
# get potential paper website link from 1. dataset websites 2. search engine
import sys
import os
subfolder_path1 = os.path.join(os.getcwd(), 'S')
subfolder_path2 = os.path.join(os.getcwd(), 'E')
subfolder_path3 = os.path.join(os.getcwd(), 'A')
sys.path.append(subfolder_path1)
sys.path.append(subfolder_path2)
sys.path.append(subfolder_path3)
from S.main_s import s_pipeline
from E.main_e import e_pipeline
from A.main_a import a_pipeline
from A.main_sea import sea_pipeline
def sea_pipeline_without_input(dataset_name, dataset_desc):
s_pipeline(dataset_name=dataset_name, dataset_desc=dataset_desc, need_input=False)
e_pipeline()
a_pipeline()
# arr is a list of dataset names
def batch_get_experiment_res(arr):
for ele in arr:
sea_pipeline_without_input(ele)
if __name__ == "__main__":
sea_pipeline()
print()