forked from MIT-SPARK/PD-MeshNet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_job_1.py
28 lines (25 loc) · 808 Bytes
/
test_job_1.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
import os
from pd_mesh_net.utils import BaseTestJob
DATASET_PARAMS = {
'root': '../../../datasets/shrec_16_config_A//',
'dataset_name': 'shrec_16',
'compute_node_feature_stats': False,
'categories': [],
'train': False,
'single_dual_nodes': True,
'undirected_dual_edges': True
}
DATALOADER_PARAMS = {'batch_size': 16}
TEST_PARAMS = {
'log_folder': os.path.abspath('../../../training_logs/'),
'task_type': 'classification',
# Example. Replace with your job name.
'training_job_name': 'YYYYMMDD_hhmmss'
}
if __name__ == '__main__':
# Create test job.
test_job = BaseTestJob(dataset_parameters=DATASET_PARAMS,
data_loader_parameters=DATALOADER_PARAMS,
**TEST_PARAMS)
# Run test.
test_job.test()