Open marybloodyzz opened 8 months ago
Me too! I also want to know how to solve it!
same problem
Hi @lzhyu, I tried your solution but keep having the same error, my folder structure is like this:
Could you tell me how you downloaded the dataset?
Hi @lzhyu, I tried your solution but keep having the same error, my folder structure is like this:
Could you tell me how you downloaded the dataset?
I followed the official HumanML3D pipeline. My folder looks the same as yours. I guess the reason why some error is hidden is they used an exception handler in mGPT/data/humanml/dataset_t2m.py. I would suggest printing out variables to check the details.
I was able to solve this problem but now I have problems in building the model. Do you have shape mismatch when loading the pretrained mGPT?
The issue you're encountering is most likely related to missing data. By default, we save all data into a single temporary data file for faster I/O operations. You can try resolving it by deleting the "tmp" folder within your dataset folder and then attempting the operation again.
@billl-jiang Yes, I was able to solve this issue, but now I have a shape mismatch in the model parameters when loading the state dict.
@billl-jiang Yes, I was able to solve this issue, but now I have a shape mismatch in the model parameters when loading the state dict.
Hi, could you tell me how you solved the problem? thx š
@Yawningx I asked the authors of HumanML3D for the zipped dataset and then unzipped texts.zip
.
For me it worked, while for the second problem there is row 77 inmGPT.data.HumanML3D.HumanML3DDataModule
that changes incorrectly the cfg.DATASET.NFEATURES, so I just hard-coded it to 263.
@Yawningx I asked the authors of HumanML3D for the zipped dataset and then unzipped
texts.zip
.For me it worked, while for the second problem there is row 77 in
mGPT.data.HumanML3D.HumanML3DDataModule
that changes incorrectly the cfg.DATASET.NFEATURES, so I just hard-coded it to 263.
Thanks for your reply! But the error still exist, my HumanML3D folder has structure as follows:
First I unzip the texts.zip, then I put the instructions data in prepare/instructions
to the same folder of HumanML3D dataset, as it said in README.md.
Did I miss sth important?
@Yawningx I asked the authors of HumanML3D for the zipped dataset and then unzipped
texts.zip
. For me it worked, while for the second problem there is row 77 inmGPT.data.HumanML3D.HumanML3DDataModule
that changes incorrectly the cfg.DATASET.NFEATURES, so I just hard-coded it to 263.Thanks for your reply! But the error still exist, my HumanML3D folder has structure as follows: First I unzip the texts.zip, then I put the instructions data in
prepare/instructions
to the same folder of HumanML3D dataset, as it said in README.md. Did I miss sth important?
trycp -r prepare/instructions datasets/HumanML3D
@billl-jiang Yes, I was able to solve this issue, but now I have a shape mismatch in the model parameters when loading the state dict.
Hi, could you tell me how you solved the problem? thx š
I'm also having this problem, can you please tell me if I should just use git clone https://github.com/EricGuo5513/HumanML3D.git and then unzip the texts.zip? It looks like there's only 1 file inside the new_joints folder, and I'm a little confused about how I should use it humanml3d pipeline.
@Yawningx I asked the authors of HumanML3D for the zipped dataset and then unzipped
texts.zip
.For me it worked, while for the second problem there is row 77 in
mGPT.data.HumanML3D.HumanML3DDataModule
that changes incorrectly the cfg.DATASET.NFEATURES, so I just hard-coded it to 263.
Could you please provide me with details on what the complete dataset catalog should include? Additionally, I would like to know the amount of data contained in the "new_joints" folder. If you still have a copy of the compressed dataset, I would greatly appreciate it if you could share it with me. Thank you!
@Yawningx I asked the authors of HumanML3D for the zipped dataset and then unzipped
texts.zip
. For me it worked, while for the second problem there is row 77 inmGPT.data.HumanML3D.HumanML3DDataModule
that changes incorrectly the cfg.DATASET.NFEATURES, so I just hard-coded it to 263.Could you please provide me with details on what the complete dataset catalog should include? Additionally, I would like to know the amount of data contained in the "new_joints" folder. If you still have a copy of the compressed dataset, I would greatly appreciate it if you could share it with me. Thank you!
Hi! Just follow https://github.com/EricGuo5513/HumanML3D, process the data as it said.
Hi, I got this issue even after unzip the texts.zip file. Traceback (most recent call last): File "/home/zzmarybloody/MotionGPT/demo.py", line 237, in
main()
File "/home/zzmarybloody/MotionGPT/demo.py", line 147, in main
datamodule = build_data(cfg)
File "/home/zzmarybloody/MotionGPT/mGPT/data/build_data.py", line 10, in build_data
return instantiate_from_config(data_config)
File "/home/zzmarybloody/MotionGPT/mGPT/config.py", line 42, in instantiate_from_config
return get_obj_from_str(config["target"])(config.get("params", dict()))
File "/home/zzmarybloody/MotionGPT/mGPT/data/HumanML3D.py", line 76, in init
self._sample_set = self.get_sample_set(overrides={"split": "test", "tiny": True})
File "/home/zzmarybloody/MotionGPT/mGPT/data/init.py", line 20, in get_sample_set
return self.DatasetEval(sample_params)
File "/home/zzmarybloody/MotionGPT/mGPT/data/humanml/dataset_t2m_eval.py", line 24, in init
super().init(data_root, split, mean, std, max_motion_length,
File "/home/zzmarybloody/MotionGPT/mGPT/data/humanml/dataset_t2m.py", line 165, in init
name_list, length_list = zip(
ValueError: not enough values to unpack (expected 2, got 0)