Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lost file:mix_label.json #3

Open
Book-can opened this issue Nov 11, 2024 · 0 comments
Open

Lost file:mix_label.json #3

Book-can opened this issue Nov 11, 2024 · 0 comments

Comments

@Book-can
Copy link

Book-can commented Nov 11, 2024

I tried to run the program as follows:

  1. "python SlicedLocator/dataset/build_vocab.py" to generate "sdg_vocab.json".
  2. "python SlicedLocator/train.py SlicedLocator/configs/vuldnldual_token+pos+type+sta.yaml" to train the model.
  3. "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'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant