forked from MarioTheOne/GRETEL
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
44 lines (24 loc) · 1.57 KB
/
Copy pathmain.py
File metadata and controls
44 lines (24 loc) · 1.57 KB
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
35
36
37
38
39
40
41
42
43
44
from src.evaluation.evaluator_manager import EvaluatorManager
import sys
config_file_path = '/NFSHOME/mprado/CODE/Themis/config/linux-server/set-1/config_autism_custom-oracle_dce.json'
print('Creating the evaluation manager.......................................................')
eval_manager = EvaluatorManager(config_file_path, run_number=0)
print('Creating the evaluators...................................................................')
eval_manager.create_evaluators()
print('Evaluating the explainers..................................................................')
eval_manager.evaluate()
#config_file_path = 'C:\\Work\\GNN\\Mine\\Themis\\config\\windows-local\\manager_config_lite.json'
# config_file_path = '/NFSHOME/mprado/CODE/Themis/config/linux-server/manager_caliban_lite.json'
config_file_path = sys.argv[1]
runno= int(sys.argv[2])
print('Executing:'+sys.argv[1])
print('Creating the evaluation manager.......................................................')
eval_manager = EvaluatorManager(config_file_path, run_number=runno)
# print('Generating Synthetic Datasets...........................................................')
# eval_manager.generate_synthetic_datasets()
# print('Training the oracles......................................................................')
# eval_manager.train_oracles()
print('Creating the evaluators...................................................................')
eval_manager.create_evaluators()
print('Evaluating the explainers..................................................................')
eval_manager.evaluate()