DisCo icon indicating copy to clipboard operation
DisCo copied to clipboard

for human-specific fine-tuning,I can't execute

Open zhangtao22 opened this issue 1 year ago • 3 comments

I set my dataset like the toy_dataset you provided. However, it can't execute. I encountered this problem Original Traceback (most recent call last): File "/root/.local/lib/python3.10/site-packages/torch/utils/data/_utils/worker.py", line 302, in _worker_loop data = fetcher.fetch(index) File "/root/.local/lib/python3.10/site-packages/torch/utils/data/_utils/fetch.py", line 49, in fetch data = [self.dataset[idx] for idx in possibly_batched_index] File "/root/.local/lib/python3.10/site-packages/torch/utils/data/_utils/fetch.py", line 49, in data = [self.dataset[idx] for idx in possibly_batched_index] File "/data/DisCo/dataset/tiktok_controlnet_t2i_imagevar_combine_specifcimg_web_upsquare.py", line 569, in getitem raw_data = self.get_img_txt_pair(idx) File "/data/DisCo/dataset/tiktok_controlnet_t2i_imagevar_combine_specifcimg_web_upsquare.py", line 512, in get_img_txt_pair anno = list(open(anno_path)) FileNotFoundError: [Errno 2] No such file or directory: './719__242.png'

image

zhangtao22 avatar Jul 27 '23 03:07 zhangtao22