"vscode:/vscode.git/clone" did not exist on "fd2ee70b815cb853dce551ae9c2ced409ab582a0"
Update inception_train.py
raise TypeError("Using a `tf.Tensor` as a Python `bool` is not allowed. "
TypeError: Using a `tf.Tensor` as a Python `bool` is not allowed. Use `if t is not None:` instead of `if t:` to test if a tensor is defined, and use the logical TensorFlow ops to test the value of a tensor.
Showing
Please register or sign in to comment