ColossalAI icon indicating copy to clipboard operation
ColossalAI copied to clipboard

A question of dataset[BUG]:

Open kangxi1818 opened this issue 2 years ago β€’ 3 comments

πŸ› Describe the bug

Thank you for your interesting work I get some errors when I run the codeStable Diffusion with Colossal-AI python main.py --logdir /tmp -t --postfix test -b config/train_colossalai.yaml the error are as follow ζˆͺ屏2022-11-09 δΈ‹εˆ9 33 31 is it because the error of dataloader? My data are as follows, how can I process the data? ζˆͺ屏2022-11-09 δΈ‹εˆ9 16 13

Environment

No response

kangxi1818 avatar Nov 09 '22 13:11 kangxi1818

You should wrap the data directory ([x]) with another directory.

mkdir -p a
mv [x] a

And set file_path to a/ (The / is required!)

CCRcmcpe avatar Nov 10 '22 01:11 CCRcmcpe

@CCRcmcpe

thank you for your reply but I just do like this, in the train_colossalai.yaml, I set ζˆͺ屏2022-11-10 上午11 13 06 and all of the txt, jpg, json are in the directory ss ζˆͺ屏2022-11-09 δΈ‹εˆ9 16 13 is there something wrong?

kangxi1818 avatar Nov 10 '22 03:11 kangxi1818

@kangxi1818 In file_path, remove the ss/ part.

CCRcmcpe avatar Nov 10 '22 04:11 CCRcmcpe

We have updated a lot. This issue was closed due to inactivity. Thanks.

binmakeswell avatar Apr 13 '23 10:04 binmakeswell