Filename Format

#2
by Shaleen123 - opened

While I was trying to get the data the in correct format, I noticed that that filenames of the images (in the csv file) don't match with the images in folder. Can you clarify the correct format for the filenames or is there any error with the dataset?

Owner

hello, cast the filename column to a string and then append .png to the end.

i should have added a column for that value, but it was easier to index it via numerics.

Got it! Also is this from Midjourney 5.2?

Owner

yes 👍

ptx0 changed discussion status to closed

Hey!
I tried your suggestion but it shows that only 787 images have correct path to the folder from 140163 images. Can you specify the format of the filenames?
I am using this format - ('/mj-v52-redux/' + main['collection'] + '/' + main['filename'] + '.png')

Owner

make sure there is no comma in the names

Sign up or log in to comment