HumanSD / tutorial_dataset_test.py
liyy201912's picture
Upload folder using huggingface_hub
cc0dd3c
raw
history blame contribute delete
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)