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

About validate code #36

Open
catisthebest opened this issue Jan 13, 2021 · 0 comments
Open

About validate code #36

catisthebest opened this issue Jan 13, 2021 · 0 comments

Comments

@catisthebest
Copy link

Dear Doug,
when I read your code, I have a question, hope u can help me. thanks a lot.
In train_ggcnn.py file's validate() function. when you store the model's val_loss, and you use the code below:
results['loss'] += loss.item()/ld
my question is why we should divide ld in there?
because I found you do not do the same thing in the train() function. you divide the batch_idx in the train() function.
I don't understand what causes the difference.

could u help me? thxxxxxx!!

@catisthebest catisthebest changed the title About val code About validate code Jan 13, 2021
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

1 participant