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
total_steps
There seems to be a problem in train.py.
total_steps = (len(trainloader) // args.batch_size + 1) * args.epoches
len(train_loader) is already divided by batch_size. Change it to total_steps = len(trainloader) * args.epoches and it should work!
total_steps = len(trainloader) * args.epoches
The text was updated successfully, but these errors were encountered:
模型用到vit预处理了么?
Sorry, something went wrong.
No branches or pull requests
There seems to be a problem in train.py.
len(train_loader) is already divided by batch_size. Change it to
total_steps = len(trainloader) * args.epoches
and it should work!The text was updated successfully, but these errors were encountered: