alexatartaglini / developmental-shape-bias

8 stars 1 forks source link

improvements to dataloader.py #5

Closed wkvong closed 3 years ago

wkvong commented 3 years ago

some ways to improve the dataloader code:

wkvong commented 3 years ago

one more thing, I'd also return the image first (rather than last) from the output of __getitem__ since that is the part that gets passed into the model and its the thing you actually want the dataloader for

alexatartaglini commented 3 years ago

I incorporated all of these suggestions! I'm currently saving the relevant properties for the images in a JSON file (which is on the repo now)