tensorflow-yolov4
tensorflow-yolov4 copied to clipboard
Grayscale prediction
Hello!
I trained a model in grayscale, so I am also trying to predict in grayscale. Is there a way to set the prediction with 1 channel?
Regards
https://github.com/hhk7734/tensorflow-yolov4/blob/4f75970d02b60960257f9f7baa091e0e6874a890/py_src/yolov4/tf/init.py#L55-L84
Line 66 - inputs = layers.Input([self.input_size[1], self.input_size[0], 3])
try to change 3 to 1.
Thanks for the reply
It doesn't work. Even adjusting other parts of the code, the output isn't the same as from darknet
I'm working on yolov4 v3.0. I will try after release.
Can you share 1 channel dataset?