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!
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!