I tried to run the program as follows:
- "python SlicedLocator/dataset/build_vocab.py" to generate "sdg_vocab.json".
- "python SlicedLocator/train.py SlicedLocator/configs/vuldnldual_token+pos+type+sta.yaml" to train the model.
- "python test.py SlicedLocator/res/mix/vuldnldual/vuldnldual_token+pos+type+sta_128_128_3_2_attention_gin_0.05" to test the model.
At step 3, it reports the error:
"Traceback (most recent call last):
File "SlicedLocator/test.py", line 211, in
with open(label_path, 'r') as f: fp_to_label_orig = json.load(f)
^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'SlicedLocator/mix_label.json'"
I tried to run the program as follows:
At step 3, it reports the error:
"Traceback (most recent call last):
File "SlicedLocator/test.py", line 211, in
with open(label_path, 'r') as f: fp_to_label_orig = json.load(f)
^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'SlicedLocator/mix_label.json'"