mks0601 / PoseFix_RELEASE

Official TensorFlow implementation of "PoseFix: Model-agnostic General Human Pose Refinement Network", CVPR 2019
MIT License
327 stars 64 forks source link

pre-train model? #4

Closed tianjiahao closed 5 years ago

tianjiahao commented 5 years ago

Traceback (most recent call last): File "test.py", line 220, in test(int(args.test_epoch)) File "test.py", line 192, in test result = MultiGPUFunc.work() File "/home/cv2018/Documents/PoseFix/main/../lib/tfflat/mp_utils.py", line 82, in work id, msg = load_pkl( 'tmpresult{}'.format(self._proc_ids[i]) ) File "/home/cv2018/Documents/PoseFix/main/../lib/tfflat/serialize.py", line 68, in load_pkl with open('{}.pkl'.format(name), 'rb') as f: FileNotFoundError: [Errno 2] No such file or directory: 'tmp_result_0.pkl'

where can I download this 'pkl'? and how to solve this problem? thank you !

mks0601 commented 5 years ago

That pklfile is temporal file in testing stage, which is generated by each GPU. Maybe you did some mistake about GPU numbering?

tianjiahao commented 5 years ago

Thanks to your reply, we only have one gpu(1080Ti) to test, so the problem arises in "python test.py --gpu 0 --test_epoch 140"。

mks0601 commented 5 years ago

Sorry I haven't test this code on single GPU environment. I'll test and modify it.

wonju2lee commented 4 years ago

I have the same problem, could you please solve this issue or let me know the reason?

mks0601 commented 4 years ago

Most (more than 90%) of this error comes from wrong configuration. Please check directories and testset in config.py.