Skip to content

membership inference attack: member/nonmember_word_frequency.txt not found #36

Description

@nazmul-me

When I run the last command, bash inference.sh, in line 282 of inference.py, it tries to read member/nonmember_word_frequency.txt file which is not exist. So, it shows error. Also, I do not find any other file from where these files can be generated.

File "./../membership_inference/inference/inference.py", line 282, in main
    with open(os.path.join(args.data_dir, f"target/{args.target_model_type}/{label}_word_frequency.txt")) as f:
FileNotFoundError: [Errno 2] No such file or directory: './..//membership_inference/inference/target/code-gpt/member_word_frequency.txt'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions