isht7 / pytorch-deeplab-resnet

DeepLab resnet v2 model in pytorch
MIT License
602 stars 118 forks source link

Why change the image channel order after `cv2.imread` #37

Open wandering007 opened 6 years ago

wandering007 commented 6 years ago

Since cv2.imread loaded images are already in BGR format, which is the correct input format for caffe models, why change it here?