I was trying to rewrite my code from fastai1 to fastai2 due to GPU incompatibility, and I run into a problem with extracting images:
fastai1 (extract all images from train_ds):
I have 100,000 images as input, and my list comprehension technique doesn’t work (the thread was killed every time I try to run it):
[x for x in data.train_ds]
Is there a better way to extract all the images in fastai2 from train_ds?
Thanks in advance!!!