Pose-Group / DCPose

This is an official implementation of our CVPR 2021 paper "Deep Dual Consecutive Network for Human Pose Estimation" (https://openaccess.thecvf.com/content/CVPR2021/papers/Liu_Deep_Dual_Consecutive_Network_for_Human_Pose_Estimation_CVPR_2021_paper.pdf)
371 stars 61 forks source link

Throws error when I try to train from scratch in posetrack 18 #38

Open kawanish opened 2 years ago

kawanish commented 2 years ago

The below error occurs:

022-04-23 06:32:46 [posetimation.zoo.DcPose.dcpose_rsn] ERROR: => please download pre-trained models first! Traceback (most recent call last): File "run.py", line 33, in main() File "run.py", line 29, in main runner.launch() File "/home/awanish/DCPose-main/engine/defaults/runner.py", line 52, in launch trainer = DefaultTrainer(self.cfg, self.output_path_dict, PE_Name=self.args.PE_Name) File "/home/awanish/DCPose-main/engine/defaults/trainer.py", line 32, in init self.model = build_model(cfg, phase='train') File "/home/awanish/DCPose-main/posetimation/zoo/build.py", line 17, in build_model model_instance.init_weights() File "/home/awanish/DCPose-main/posetimation/zoo/DcPose/dcpose_rsn.py", line 285, in init_weights raise ValueError('{} is not exist!'.format(self.pretrained)) ValueError: /home/awanish/DCPose-main/DcPose_supp_files/pretrainedmodels/pretrained.pth is not exist!

there is no file with the name pretrained_.pth given in supp files folder

l1teng commented 2 years ago

The same issue from me. Is there any solutions?