Open agniszczotka opened 5 years ago
ValueError: Dimension size must be evenly divisible by 3 but is 1 Number of ways to split should evenly divide the split dimension for 'import/split_1' (op: 'Split') with input shapes: [], [?,?,?,1] and with computed input tensors: input[0] = <-1>.
I believe all ImageNet pretrained models accept only 3-channel inputs. I suggest copying the channels as follows:
x = tf.tile(x, [1, 1, 1, 3])
ValueError: Dimension size must be evenly divisible by 3 but is 1 Number of ways to split should evenly divide the split dimension for 'import/split_1' (op: 'Split') with input shapes: [], [?,?,?,1] and with computed input tensors: input[0] = <-1>.