Giter VIP home page Giter VIP logo

Comments (4)

BerezhnoyD avatar BerezhnoyD commented on July 25, 2024

Hi everybody,
Same issue there. Can try to add on this.

  1. 2d labeling looking good, so I figured out the problem is probably introduced during calibration

  2. calibration step looks normal. The initial pixel error is big but I guess it is how it should be as it decreases?
    Calibration

  3. triangulation is probably the problem. It takes much longer than on the example screenshots and the behavior of the cost function also looks weird.
    Triangulation

And needless to say in the end I get exactly the same videos as @tzeriver

I thought, maybe it is some kind of package version issue as I installed Anipose in the latest DLC-GPU environment. But any ideas are much appreciated.

Thank you,
Daniil

from anipose.

greyishfox avatar greyishfox commented on July 25, 2024

Hello everyone,

I have encountered the same problem as described above.
The resulting model looks similar to @tzeriver and my 2D calibration looks ok (as described by @BerezhnoyD, without any error messages, etc.).

I am using:

  • Anipose: version 1.0.1
  • DeepLabcut: version 2.2.1
  • System: Ubuntu 20.04.4 LTS

Are there any news regarding this issue @lambdaloop ?

Your help is very much appreciated.

from anipose.

BerezhnoyD avatar BerezhnoyD commented on July 25, 2024

Hi again,
@greyishfox
It seems that the problem was not with the triangulation itself, but with the post-processing filters. They are not well documented, so I had to figure them out by myself. Or @lambdaloop maybe there is a documentation that can help?
So, if I'm not mistaken, there are two algorithms to smooth the data and get rid of the outliers.

  • RANSAC (actually works good)
  • Optimization based on the constraints (adds this jerky movement if there are too many outliers, kind of ties the whole model to the outliers)

If we apply both of them, we get the videos described by @tzeriver. But if we leave only the RANSAC in the config file we get the graphs like in the tutorial. Solved the issue for me.

image

Hope this helps
Sincerely,
Daniil

from anipose.

greyishfox avatar greyishfox commented on July 25, 2024

Hi @BerezhnoyD

Thank you very much for your help!

Meanwhile I also get nice 3D models similar to the example videos shown in the tutorial but with a slightly different approach.
Since version v0.9.0 is the last listed tag of this project, I assumed that version v1.0.1 is not yet stable. Therefore, I simply installed the last stable version v0.9.0.

For anyone unsure how to install a different version:
Instead of running "python -m pip install anipose" (from the installation guide) I pointed to an earlier version of my local repo using git (command: git checkout v0.9.0) and installed this version with "python -m pip install -e <PATH TO PROJECT>".

Anyway, depending on the usecase, @BerezhnoyD's solution is probably the better way to go.

from anipose.

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.