scene_diffusion___ / tutorial_dataset_test.py
xywwww's picture
Upload 26 files
86ea3d3 verified
raw
history blame
206 Bytes
from tutorial_dataset import MyDataset
dataset = MyDataset()
print(len(dataset))
item = dataset[1234]
jpg = item['jpg']
txt = item['txt']
hint = item['hint']
print(txt)
print(jpg.shape)
print(hint.shape)