In tensorflow 2.10.0
I am trying some data augmentation layers, for example:
data_augmentation = keras.Sequential(
[
layers.RandomFlip('horizontal'),
layers.RandomRotation(0.1),#rad
layers.RandomZoom(0.2)
])
#let's look at the manipulated images
plt.figure(figsize=(10,10))
for images, _ in train_dataset.take(1):
for i in range(9):
augmented_images = data_augmentation(images)
ax = plt.subplot(3,3,i+1)
plt.imshow(augmented_images[0].numpy().astype("uint8"))
plt.axis("off")
But I get the following warnings.
WARNING:tensorflow:Using a while_loop for converting RngReadAndSkip cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting Bitcast cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting Bitcast cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting StatelessRandomUniformV2 cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting ImageProjectiveTransformV3 cause there is no registered converter for this op.
This is a known issue but the only suggestion I could find suggest to downgrade it.
Also it's long-time known issue as shown in the github repo.
Is there any known solution or alternative to the downgrade?