Team Ai
Apppublic

Milcho/ControlNet-Guidance

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
tutorial_dataset_test.py13 linesDownload Raw Back to root
1from tutorial_dataset import MyDataset2 3dataset = MyDataset()4print(len(dataset))5 6item = dataset[1234]7jpg = item['jpg']8txt = item['txt']9hint = item['hint']10print(txt)11print(jpg.shape)12print(hint.shape)13