Open lucydjo opened 5 years ago
can you show your xml file?because its mean your size is zero
i faced the same problem, this happens due to transparency in the some images, i dnt know what kind of transparency is this,......but it can be solved by opening the image with opencv and saving it again, it worked for me.
i wrote this python file :--
import cv2 import os
def loadImages(path = "."):
return [os.path.join(path, f) for f in os.listdir(path) if f.endswith('.jpg')]
filenames = loadImages() images = [] for file in filenames: images.append(cv2.imread(file, cv2.IMREAD_UNCHANGED))
num = 0 for image in images: cv2.imwrite(str(num)+".jpg",image) num += 1
it will open every file in the directory and save it again!!
What image format are you labelling? I had the same error when I was labelling .png images. It only worked for me with .jpg images.
Hi,
Does not want to record labels. I have tried with several versions, nothing works. How to fix ?
I only have two very large images. High-precision satellite photo (15kX15k). I have to get more than 1000 labels per photo
Thx !