Hi,
I’m trying to execute C3_W3_Lab_2_OxfordPets_UNet.ipynb , on local windows maschine, but getting an issue when executing cell:
preprocess the train and test sets
train = dataset[‘train’].map(load_image_train, num_parallel_calls=tf.data.experimental.AUTOTUNE)
test = dataset[‘test’].map(load_image_test)
Error message ends with:
“OperatorNotAllowedInGraphError: using a tf.Tensor
as a Python bool
is not allowed: AutoGraph did convert this function. This might indicate you are trying to use an unsupported feature.”
Any ideas from anyone on the cause of the isse and how to mitigate ?
Thanks in advance !