Were you guys able to resolve this? This has been happening to me and it’s really weird. Different batch size is giving different scores for the same input!

print(x_var.size())
    scores = model(x_var[0:3])
    print(scores)
    
    scores = model(x_var[0:3])
    print(scores)

    scores = model(x_var[0:2])
    print(scores)



EDIT: Never mind - figured it out. Make sure to do model.train(False) so Dropout and Batchnorm are in test mode.