image_celeba module¶
- class image_celeba.image_celeba(afilename, anumber, matrix, P)[source]¶
Bases:
object
A class to handle CelebA dataset images and resizing.
- filename_jpg¶
The path of the jpg file.
- Type:
str
- number¶
The number of the image in the dataset.
- Type:
int
- matrix¶
A 40x2 matrix of features.
- Type:
list
- P¶
The list of the images into their encoded form, so it’s a list of vector
- Type:
np.array
- im¶
The image object.
- Type:
PIL.Image