hibana2077's picture
add data processing scripts and ffhq dataset; implement image-label mapping and visualization
548d832
raw
history blame contribute delete
237 Bytes
import json
import os
import sys
import pickle
from PIL import Image
from tqdm import tqdm
# load the data(ffhq_data.pkl)
with open("ffhq_data.pkl", "rb") as f:
data = pickle.load(f)
# check the data
print(len(data))
print(data[0])