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 am running the code on cityscapes dataset which has image, labels but not weights. I am passing a list of ones as argument to weight list in read_file function. But in this line of train_batch function, train_data = tf.data.Dataset.from_tensor_slices((image_list, label_list, weight_list)), I get this as output_shapes: (TensorShape([Dimension(1), Dimension(None), Dimension(None), Dimension(None)]), TensorShape([Dimension(1), Dimension(None), Dimension(None), Dimension(None)]), TensorShape([Dimension(1), Dimension(None), Dimension(None), Dimension(None)]))
Can you suggest why this is happening ?
The text was updated successfully, but these errors were encountered:
I am running the code on cityscapes dataset which has image, labels but not weights. I am passing a list of ones as argument to weight list in read_file function. But in this line of train_batch function,
train_data = tf.data.Dataset.from_tensor_slices((image_list, label_list, weight_list))
, I get this as output_shapes:(TensorShape([Dimension(1), Dimension(None), Dimension(None), Dimension(None)]), TensorShape([Dimension(1), Dimension(None), Dimension(None), Dimension(None)]), TensorShape([Dimension(1), Dimension(None), Dimension(None), Dimension(None)]))
Can you suggest why this is happening ?
The text was updated successfully, but these errors were encountered: