You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As your attempt, you want to divide the pascalvoc dataset into 4, and this .py file is just for pascalvoc dataset.
But in your code :
def splitlist(folder, trainfolder1, trainfolder2, testfolder):
if not os.path.exists(folder):
raise Exception('input folder dose not exist ! please check it !!')
if not os.path.exists(trainfolder1):
os.makedirs(trainfolder1)
if not os.path.exists(trainfolder2):
os.makedirs(trainfolder2)
if not os.path.exists(testfolder):
os.makedirs(testfolder)
The number of pictures in the folder is 110000 and 55000 respectively, but there are only 12031 images in the pascalvoc data set. How did you do it? Or is it that you made a mistake?
The text was updated successfully, but these errors were encountered:
As your attempt, you want to divide the pascalvoc dataset into 4, and this .py file is just for pascalvoc dataset.
But in your code :
def splitlist(folder, trainfolder1, trainfolder2, testfolder):
if not os.path.exists(folder):
raise Exception('input folder dose not exist ! please check it !!')
if not os.path.exists(trainfolder1):
os.makedirs(trainfolder1)
if not os.path.exists(trainfolder2):
os.makedirs(trainfolder2)
if not os.path.exists(testfolder):
os.makedirs(testfolder)
The number of pictures in the folder is 110000 and 55000 respectively, but there are only 12031 images in the pascalvoc data set. How did you do it? Or is it that you made a mistake?
The text was updated successfully, but these errors were encountered: