File size: 241 Bytes
d9339ed
 
 
 
 
 
 
1
2
3
4
5
6
7
import json
import os

root_path = "/data/sjy/VFI4IDC_test/IDC_scratch_model/transformer/data/IER"
for split in ["train", "test", "val"]:
    with open(os.path.join(root_path, f"{split}.json"), "r") as f:
        original_data = json.load(f)