Giter Club home page Giter Club logo

Comments (17)

ZHyuwind avatar ZHyuwind commented on August 29, 2024 1

I cannot understand what you asked

sorry,maybe I need to understand how to transform dataset format again. I feel so sorry about disturbing you. Happy Christmas Eve!

from posefix_release.

mks0601 avatar mks0601 commented on August 29, 2024

You can see this code. Once you convert your dataset to MSCOCO format, you can easily adapt that code to use your dataset.

from posefix_release.

ZHyuwind avatar ZHyuwind commented on August 29, 2024

from posefix_release.

ZHyuwind avatar ZHyuwind commented on August 29, 2024

Hello, I also meet a problem that my own dataset how to get annotations? or this file is not needed?Thanks.

from posefix_release.

mks0601 avatar mks0601 commented on August 29, 2024

I cannot understand what you asked

from posefix_release.

ZHyuwind avatar ZHyuwind commented on August 29, 2024

Hello, I want to ask a question that my own data also need annotations file like COCO's person_keypoints_val2017.json?

from posefix_release.

mks0601 avatar mks0601 commented on August 29, 2024

Right. You should convert annotation of your own dataset to MSCOCO format.

from posefix_release.

mks0601 avatar mks0601 commented on August 29, 2024

Maybe these codes would be helpful.
https://github.com/mks0601/TF-SimpleHumanPose/tree/master/tool

These codes convert mpii or posetrack datasets to coco format.

from posefix_release.

ZHyuwind avatar ZHyuwind commented on August 29, 2024

Thanks a lot, I will try!

from posefix_release.

ZHyuwind avatar ZHyuwind commented on August 29, 2024

Hello, I used coco2017val dataset to get results from TF-simple pose, then take it as input_pose.json, but also appear "FileNotFoundError: [Errno 2] No such file or directory: 'tmp_result_0.pkl" ,I don't know how to deal with it. Please give me some advices, thank you very much!

from posefix_release.

mks0601 avatar mks0601 commented on August 29, 2024

The tmp_result_0.pkl is a just temporal file, which is automatically generated during testing. You should set proper dataset and testset in main/config.py and proper path in data/COCO/dataset.py.

from posefix_release.

ZHyuwind avatar ZHyuwind commented on August 29, 2024

The tmp_result_0.pkl is a just temporal file, which is automatically generated during testing. You should set proper dataset and testset in main/config.py and proper path in data/COCO/dataset.py.

Thank you, my problem has solved.

from posefix_release.

lxy5513 avatar lxy5513 commented on August 29, 2024

@mks0601 Hi, Could you please tell me how to generate /test_on_trainset/result.json in my own dataset.
Could I produce it by TF-SimpleHumanPose?, It is indispensable? and what's it role?

from posefix_release.

mks0601 avatar mks0601 commented on August 29, 2024

Most of the images do not have all keypoint coordinate annotations because of truncations or severe occlusions. I used test_on_trainset to fill the not annotated keypoint coordinates. The format of the .json file exactly follows MSCOCO format. You can use any human pose estimation method to get it.

from posefix_release.

lxy5513 avatar lxy5513 commented on August 29, 2024

@mks0601 Thanks your kind respond, Do you mean that original coordinate annotations may not include all keypoints, So the function of test_on_trainset is to mitigate the problem ?

from posefix_release.

mks0601 avatar mks0601 commented on August 29, 2024

Yes. For example, the annotation file of COCO dataset contains keypoints like the below figure.
스크린샷, 2020-05-06 13-24-50

Among x1, y1, v1, ..., v1 provides the below information.

Each keypoint has a 0-indexed location x,y and a visibility flag v defined as v=0: not labeled (in which case x=y=0), v=1: labeled but not visible, and v=2: labeled and visible.

If v==0, the coordinates are not annotated, which requires test_on_trainset.

from posefix_release.

lxy5513 avatar lxy5513 commented on August 29, 2024

So kind of you, thanks!

from posefix_release.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.