PIDNet icon indicating copy to clipboard operation
PIDNet copied to clipboard

Fix image reading on camvid

Open pantment opened this issue 1 year ago • 0 comments

I encountered inconsistencies in image dimensions when using the PIL library, likely due to differences in image formats (e.g., JPG vs. PNG). Some images and labels were read as width, height, while others were interpreted as height, width, leading to confusion. Additionally, the behavior of the resize function made it harder to pinpoint the issue. After switching to OpenCV (cv2), these inconsistencies were resolved.

pantment avatar Sep 23 '24 11:09 pantment