File size: 902 Bytes
732e0d9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
34
import json
import yaml

def get_config_universal(dataset_name):
    with open('./configs/' + dataset_name + '_config.json') as f:
        config = json.load(f)
    return config


def get_sweep_config_universal(dataset_name):
    with open('./configs/sweep_' + dataset_name + '_config.yaml') as f:
        config = yaml.load(f,Loader=yaml.FullLoader)
    return config


def get_config():
    with open('configs/camargo_config.json') as f:
        config = json.load(f)
    return config

def get_kiha_config():
    with open('./configs/kiha_config.json') as f:
        config = json.load(f)
    return config

def get_model_config(model_config):
    with open(f'./configs/{model_config}.json') as f:
        config = json.load(f)
    return config

def get_sweep_config():
    with open('configs/sweep_camargo_config.yaml') as f:
        config = yaml.load(f,Loader=yaml.FullLoader)
    return config