Hey, may I ask for help? because the code is implemented using older versions of tensorflow so i tried to run it using the newer version. However, i am facing problem in data.py file.
File "C:\Users\hp\OneDrive\Desktop\outpainting_srn-master\data\data.py", line 20, in next
im_gt =tf.io.decode_image(tf.io.read_file(self.data_queue[0]), channels=3)
TypeError: 'TensorSliceDataset' object is not subscriptable
Hey, may I ask for help? because the code is implemented using older versions of tensorflow so i tried to run it using the newer version. However, i am facing problem in data.py file.
File "C:\Users\hp\OneDrive\Desktop\outpainting_srn-master\data\data.py", line 20, in next im_gt =tf.io.decode_image(tf.io.read_file(self.data_queue[0]), channels=3)
TypeError: 'TensorSliceDataset' object is not subscriptable
thank you in advance.