Skip to content

Issue with Locating advsim.json Model File in SafeBench #10

Description

@CoderrDu

Hello,

I am currently working on reproducing the advsim method and have encountered an error that I am unable to resolve. I have checked the documentation and existing issues but haven't found a solution to my problem.

Issue Description:
when I try to execute the command '/home/safebench/SafeBench-main/scripts/run.py --agent_cfg basic.yaml --scenario_cfg advsim.yaml --mode train_scenario' ,I encounter the following error message:"Fail to find advsim.json model from /home/safebench/SafeBench-main/safebench/scenario/scenario_data/model_ckpt/advsim/x/x.json"
屏幕截图 2024-01-13 211603

This occurs irrespective of whether the mode is set to train_scenario or eval, and it seems that the required model file is missing from the specified directory.

Attempted Solutions:
I have tried checking the directory for the file and also looked into alternative folders, but the 'advsim. json' file seems to be missing. I am not sure if this file is supposed to be generated during the training process or if it should be manually downloaded from a specific source.
I am using the latest version of SafeBench available on GitHub.

Could you please guide me on where to obtain this model file, or if there are additional steps I need to take to generate it?

Thank you very much for your time and assistance.

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