In https://github.com/lukemelas/EfficientNet-PyTorch, its image reading package is PIL.Image, and it's RGB mode.
But in your code, it's opencv-python and it's BGR mode.
I think it doesn't impact the final performance, whatever if use the pretrained weights. And RGB reading mode will make training converge quickly.
In https://github.com/lukemelas/EfficientNet-PyTorch, its image reading package is PIL.Image, and it's RGB mode. But in your code, it's opencv-python and it's BGR mode. I think it doesn't impact the final performance, whatever if use the pretrained weights. And RGB reading mode will make training converge quickly.