Open xysong1201 opened 4 years ago
in train_NR.py line 301 cross_entropy = cross_entropy / args.batch_size/2
cross_entropy = cross_entropy / args.batch_size/2
could you explain why the loss should be divided by the batch size and then multiply by 2? thank you
in train_NR.py line 301
cross_entropy = cross_entropy / args.batch_size/2
could you explain why the loss should be divided by the batch size and then multiply by 2? thank you