Rerender / ControlNet /tutorial_dataset_test.py
patgpt4's picture
Duplicate from Anonymous-sub/Rerender
1239b39
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)