-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Some problems #67
Comments
|
yes, I agree. |
I think it should be:
|
@sunlightsgy , I get your point. Assume that we have a dataset size N, each image has size M x L, the batch_size is B. If N%B = 0, the results of two approaches will be the same, right? But it is not true if N%B != 0. |
If the metric is accuracy, what you said is right. Other metrics may fail as long as |
Hi, I used your template and I had some problems as follows:
met(output, target)
should be changed tomet(output, target).item()
. If we don't, the memory space will increase after each batch_size. I tested with PyTorch 0.4.1 and realized this problem.update
function like this:How do you think about that?
The text was updated successfully, but these errors were encountered: