|
nvnn 发表于 2020-3-30 21:27
Could you please elaborate more about this? what do you mean by reshape input from 4-channels to 3 ...
More or less. For example, if you use tf.keras, input is yuyv422 100*100*2, you can design your net like:
model = keras.Sequential([
keras.layers.Input(100*100*2),
keras.layers.Reshape((100, 100, 2))
...
])
and feed model with flattened input. |
|