Skip to content

Are there problems with parameter Settings for regression_trianer file? #1

@jizhuangz

Description

@jizhuangz

regression_trianer file line 66, self.model = vgg19_trans(args.topk, args.usenum, args.promptnum), promptunm is not defined in train.py file.
AttributeError: 'Namespace' object has no attribute 'promptnum'
regression_trianer file line 89,self.save_list = Save_Handle(max_num=args.max_model_num), max_model_num is not defined in train.py file too.How to set these two values?
Thanks in advance for your help!

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