Skip to content

Lost file:mix_label.json #3

@Book-can

Description

@Book-can

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'"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions