Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jizhuangz opened this issue Aug 9, 2024 · 1 comment

Comments

@jizhuangz
Copy link

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!

@LoraLinH
Copy link
Owner

Thanks for the reminder. I've made the corresponding revisions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants