LiYingwei/Regional-Homogeneity

AttributeError: 'NoneType' object has no attribute 'is_training'

Closed this issue · 2 comments

In > region_norm_ops.py,
line 55
# 3. normalization bn_output = BatchNorm('bn', feed2bn, axis=3, gamma_initializer=gamma_initializer, internal_update=True)

It seems that calling BatchNorm in tensorpack will cause this error. I've tried several versions of tensorpack without solving this bug

You can see this link to have a better understanding of this issue.

If you cannot address this issue by the above link, I am willing to learn more details so that I can reproduce this error.

Feel free to reopen this.