EricGuo5513 / text-to-motion

Official implementation for "Generating Diverse and Natural 3D Human Motions from Texts (CVPR2022)."
MIT License
428 stars 38 forks source link

ValueError: not enough values to unpack (expected 2, got 0) #40

Open khansharkhamnida opened 5 months ago

khansharkhamnida commented 5 months ago

100%|█████████████████████████████████████████████████████████████████████████| 23384/23384 [00:00<00:00, 154772.68it/s] Traceback (most recent call last): File "train_comp_v6.py", line 146, in train_dataset = Text2MotionDataset(opt, mean, std, train_split_file, w_vectorizer) File "/home/nsazielle/Synthda/text-to-motion/data/dataset.py", line 91, in init name_list, length_list = zip(*sorted(zip(new_name_list, length_list), key=lambda x: x[1])) ValueError: not enough values to unpack (expected 2, got 0)

any idea why this happened?

EricGuo5513 commented 5 months ago

Hi, check if you have the correctly load the data, e.g., data path.

On Sun, Feb 11, 2024 at 5:00 PM Khansa Zilfa Shofia Ghazali < @.***> wrote:

100%|█████████████████████████████████████████████████████████████████████████| 23384/23384 [00:00<00:00, 154772.68it/s] Traceback (most recent call last): File "train_comp_v6.py", line 146, in train_dataset = Text2MotionDataset(opt, mean, std, train_split_file, w_vectorizer) File "/home/nsazielle/Synthda/text-to-motion/data/dataset.py", line 91, in init name_list, length_list = zip(*sorted(zip(new_name_list, length_list), key=lambda x: x[1])) ValueError: not enough values to unpack (expected 2, got 0)

any idea why this happened?

— Reply to this email directly, view it on GitHub https://github.com/EricGuo5513/text-to-motion/issues/40, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKRYNB2C5VPUVN25MHCNXALYTCCCTAVCNFSM6AAAAABDDMDOR2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGEZDQOJQGIYTIOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

khansharkhamnida commented 5 months ago

image image

i think it's right? i was following the instructions

khansharkhamnida commented 5 months ago

image i think i might have found out the issue. There's only one npy file here. where do i get the rest? i cloned https://github.com/EricGuo5513/HumanML3D and took only the HumanML3D folder inside. I didn't follow the instructions. How should I proceed with this

roobte commented 1 month ago

请问上述问题解决了么??应该如何处理呢???