Kernel: Python 3
Visualize CelebA
Here we download a zipfile of images and their attributes that have been preprocessed to 64x64 using the script at https://github.com/probml/pyprobml/blob/master/scripts/celeba_kaggle_preprocess.py
In [1]:
In [2]:
In [4]:
Out[4]:
rm: cannot remove 'celeba_small_H64_W64_N20000.csv': No such file or directory
--2020-12-10 06:22:02-- https://raw.githubusercontent.com/probml/pyprobml/master/data/CelebA/celeba_small_H64_W64_N20000.csv
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2440084 (2.3M) [text/plain]
Saving to: ‘celeba_small_H64_W64_N20000.csv’
celeba_small_H64_W6 100%[===================>] 2.33M --.-KB/s in 0.1s
2020-12-10 06:22:03 (16.2 MB/s) - ‘celeba_small_H64_W64_N20000.csv’ saved [2440084/2440084]
In [5]:
Out[5]:
In [6]:
Out[6]:
rm: cannot remove 'celeba_small_H64_W64_N20000.zip': No such file or directory
--2020-12-10 06:22:20-- https://raw.githubusercontent.com/probml/pyprobml/master/data/CelebA/celeba_small_H64_W64_N20000.zip
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 34148268 (33M) [application/zip]
Saving to: ‘celeba_small_H64_W64_N20000.zip’
celeba_small_H64_W6 100%[===================>] 32.57M 58.6MB/s in 0.6s
2020-12-10 06:22:24 (58.6 MB/s) - ‘celeba_small_H64_W64_N20000.zip’ saved [34148268/34148268]
In [7]:
Out[7]:
rm: cannot remove '*.jpg': No such file or directory
celeba_small_H64_W64_N20000.csv celeba_small_H64_W64_N20000.zip sample_data
In [8]:
In [9]:
Out[9]:
20000
In [10]:
In [19]:
Out[19]: