You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting an assertion error in tpu_util.py when I use batchnorm layers. I noticed that there are two 'ops' associated with the batchnorm layers:
'model/conv1_bn_td/cond/ReadVariableOp_2'
'model/conv1_bn_td/cond/ReadVariableOp_2/Switch'
The error happens when the following line is run on the ''model/conv1_bn_td/cond/ReadVariableOp_2/Switch' op: assert len(op.inputs) == 1
There are two items in this inputlist. I can simply comment out this line and everything seems to work, but am I doing anything destructive if I do comment this line out?
The text was updated successfully, but these errors were encountered:
I'm getting an assertion error in tpu_util.py when I use batchnorm layers. I noticed that there are two 'ops' associated with the batchnorm layers:
The error happens when the following line is run on the ''model/conv1_bn_td/cond/ReadVariableOp_2/Switch' op:
assert len(op.inputs) == 1
There are two items in this inputlist. I can simply comment out this line and everything seems to work, but am I doing anything destructive if I do comment this line out?
The text was updated successfully, but these errors were encountered: