We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
约229行,在源代码的main中, dataset_train, args.nb_classes = build_dataset(is_train=True, args=args) 没有考虑到仅eval模式,is_train默认是true,应该在前加一个条件判断语句。
dataset_train, args.nb_classes = build_dataset(is_train=True, args=args)
The text was updated successfully, but these errors were encountered:
可以改成这样: if args.eval: is_train=False dataset_train, args.nb_classes = build_dataset(is_train, args=args)
if args.eval: is_train=False dataset_train, args.nb_classes = build_dataset(is_train, args=args)
Sorry, something went wrong.
No branches or pull requests
约229行,在源代码的main中,
dataset_train, args.nb_classes = build_dataset(is_train=True, args=args)
没有考虑到仅eval模式,is_train默认是true,应该在前加一个条件判断语句。
The text was updated successfully, but these errors were encountered: