Giter Site home page Giter Site logo

Choosing Body Parts about b-soid HOT 7 CLOSED

yttrilab avatar yttrilab commented on May 20, 2024
Choosing Body Parts

from b-soid.

Comments (7)

runninghsus avatar runninghsus commented on May 20, 2024

Hi @jacobk14

Thank you for your interest in B-SOiD!
No, that just means that the t-SNE version (the one you're talking about) takes a pre-defined 6 body parts outlining the animal to compute metrics such as distance, angle, and speed. The only thing that you have to change is the index that follows, as the algorithm only looks for those. For example, if your snout is the last to be labeled, as opposed to the first, you'll want to change that 0 to 5. You will need the presets indexed for the code to run without error - snout/head, shoulder/forepaw, hip/hindpaw, and tail-base. You can add more, such as body center, for indexing, but it just won't be reading that.

In other words, if you have the 6 body parts (again, not necessarily named that way, but get at similar locations on the animal) - snout/head, shoulder/forepaw, hip/hindpaw, and tail-base, then go ahead and use this. The reason for these body parts to be required is that the 7 features (see preprint) are hardcoded in.

If, however, you have a different view as bottom-up/top-down, and/or have fewer/more body parts labeled, I would recommend the UMAP version (specifically the bsoid_app, as it contains the same computation and more utilities than the bsoid_umap does).

Thank you again for opening this issue, best of luck!

from b-soid.

jacobk14 avatar jacobk14 commented on May 20, 2024

Hi, Thank you for your response. I have opened the app; however, I am unsure of which 3 .csv files I am supposed to place in the "subdirectories" blanks on the app from my deeplabcut project folder. The only one I can think of is the DLC_resnet50_ExerciseJun26shuffle1_52500-results.csv file within the evaluation-results folder.

from b-soid.

runninghsus avatar runninghsus commented on May 20, 2024

The subdirectories are the folders that contains all the csv files you wish to train. If you only have 1 folder, then reduce the number of subdirectories to 1.
In other words, it'll load all .csv files from the folder (subdirectory). For example, if you have the deeplabcut project folder /Users/jacob_deeplabcut that contains the DLC_resnet50_ExerciseJun26shuffle1_52500-results.csv then your BASE_PATH will be /Users, and your subdirectory will be /jacob_deeplabcut

from b-soid.

jacobk14 avatar jacobk14 commented on May 20, 2024

Thank you! I have made it through the first few steps. In the section "Making sense of these behaviors", what does it mean by enter the testing subdirectory within the base path. It results in a drop-down menu to choose a csv file, but is it the original csv file from the deeplabcut project folder or does it mean one of the csv files that were created by the BSOID app?

from b-soid.

runninghsus avatar runninghsus commented on May 20, 2024

If you selected "Generate predictions and corresponding videos" - you will be prompted to pick a csv file and mp4 file to generate videos to make sense of the groups. Select csv will be the original csv file, and make sure that your mp4 corresponds to the csv.
If you selected "Bulk process csvs" - you will be prompted to run predictions on the entire folders. One usually runs this after they made sense of what "group 1" is.

from b-soid.

jacobk14 avatar jacobk14 commented on May 20, 2024

I selected "generate predictions and corresponding videos" and the corresponding .csv and .mp4 files. After I clicked "predict labels and generate example videos", it said, "Done frameshift predicting". I am unsure what to do next though. The mp4 folder where I believe the example video should have been created is empty, and there are no more next steps that appeared in the app.

from b-soid.

runninghsus avatar runninghsus commented on May 20, 2024

It will be easier for me to debug with screenshots from you. Could you join our slack channel?
https://join.slack.com/t/b-soid/shared_invite/zt-dksalgqu-Eix8ZVYYFVVFULUhMJfvlw

from b-soid.

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.