These errors are coming on master branch state of the densenet and after setting batchnorm(training=False), both cases.