This is the DataBlock, where I use the first column ‘Image Index’ for get_x and a custom function for get_y to split the second column ‘Finding Labels’.
Notice how there is one more question compared to before: we wont have to use a get_items function here because we already have all our data in one place. But we will need to do something to the raw dataframe to get our inputs, read the first column and add the proper folder before the filename.
I can’t believe I missed that part. I was following a different tutorial before that used the ‘get_items’ function, but I forgot to remove it. Thank you so much for your help!