royerlab / cytoself

Self-supervised models for encoding protein localization patterns from microscopy images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup of full .npy dataset?

amulyagarimella opened this issue · comments

Hi! I wanted to ask about the setup of the full npy dataset and how each image relates to the labels. There are ~9-10 images per label. Are they in order corresponding to labels (e.g. first 9 images corresponds to first label) or is there some other setup structure?

Thanks so much!

Hi @amulyagarimella, labels and image are in the same order in the original data. The first image data in Image_data00.npy corresponds to the first label in Label_data00.csv for example. This default order is the only way to find the image-label correspondence.

OK that makes sense, thank you!
I was able to generate the full labels dataset and now have a 1:1 correspondence, I was doing something wrong before.