ggcnn icon indicating copy to clipboard operation
ggcnn copied to clipboard

About validate code

Open catisthebest opened this issue 4 years ago • 0 comments

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 avatar Jan 13 '21 14:01 catisthebest