Skip to content

No such file or directory: 'training_args.bin' #2

Open
@jingzhang697

Description

@jingzhang697

Hello,
Thank you very much for your answer to my previous question. I appreciate this article very much and am very interested in it. I have tried to run the code, but in the process of running it, I encountered a problem. torch.load(op.join(args.eval_model_dir, 'training_args.bin'))shows no file between 530-540 of the train.py code, and I didn't find it in the folder. This problem has puzzled me for a long time, and I haven't found a solution. Hope to get your help, thank you very much!
def restore_training_settings(args):
assert not args.do_train and (args.do_test or args.do_eval)
train_args = torch.load(op.join(args.eval_model_dir, 'training_args.bin'))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions