Ah OK, thanks for the clarification.
Since you don’t have the labels yet, you could use a single list with the paths to all files and use an unsupervised learning method directly.
I would recommend to create a custom Dataset as explained here 6 and load the images lazily in the __getitem__.
Since you don’t have the labels, you can just return the image tensor.