Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-Labeled Data #39

Closed
NickBardjis opened this issue May 10, 2021 · 3 comments
Closed

Pre-Labeled Data #39

NickBardjis opened this issue May 10, 2021 · 3 comments

Comments

@NickBardjis
Copy link

Hello, my team has been working with Deeplabcut pose estimation, and we have a lot of data already labeled in their format. We want to try DANNCE and were wondering if it would be possible to convert the data we have into a format that would be compatible.

The data is in two files: a .csv and a .h5. The .csv is formatted like this:

"scorer", [Name], [Name], [Name], [Name],....
"individuals", [Animal1], [Animal1], [Animal1], [Animal1],...,[Animal2], [Animal2], [Animal2], [Animal2],....
"bodyparts", [Bodypart1], [Bodypart1], [Bodypart2], [Bodypart2],....
"coords", "x", "y", "x", "y",....
[Frame1], [X-coord], [Y-coord], [X-coord], [Y-coord],....
[Frame2], [X-coord], [Y-coord], [X-coord], [Y-coord],....
....

The .h5 is formatted like this:

"scorer", [Name]
"individuals", [Animal1] [Animal2]*
"bodyparts", [Bodypart1], [Bodypart2]
"coords", "x", "y", "x", "y",....
[Frame1], [X-coord], [Y-coord], [X-coord], [Y-coord],....

@spoonsso
Copy link
Owner

Hi Nick, yes, this should be possible. Do you have a multi-camera dataset? Where are the camera parameters stored?

@NickBardjis
Copy link
Author

I think most (if not all) of our data is single-camera data, though I'm not 100% sure. It sounds like that's not going to work (I was kind of suspecting that might be the case). Is that right?

I'll check with my team to make sure, but I don't think we have much multi-camera data.

@spoonsso
Copy link
Owner

Ah, yes. In principle DANNCE works with a single camera, but you would need some multi-camera data to train it (DANNCE needs ground truth 3D data to finetune). But do let me know if you find some multi-cam -- I'll be happy to help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants