Giter Site home page Giter Site logo

issue launching alma.py about alma HOT 7 CLOSED

sollan avatar sollan commented on September 17, 2024
issue launching alma.py

from alma.

Comments (7)

sollan avatar sollan commented on September 17, 2024

Hi!

We have installed the same library versions as yours but couldn't replicate the error. Which version of Python are you running?

Maybe this will be helpful as well:
https://stackoverflow.com/questions/60767017/importerror-dll-load-failed-while-importing-aggregations-the-specified-module (downgrading pandas is suggested)

from alma.

jlb98 avatar jlb98 commented on September 17, 2024

from alma.

sollan avatar sollan commented on September 17, 2024

Hi James! Thanks for your elaborate message. We really appreciate your interest!

Quick answers to your questions about your use case:

  1. It shouldn't be necessary to match the x and y ranges. The slip / footfall identification is based on y-axis peaks and the duration / depth calculations are all relative (if the footfall is starts at e.g., 1500 px and goes until 2000 px, the code will work). One problem might be that the footfalls appear shallower / deeper with different axes ranges and the detection results would be impacted. Then you would need to tweak the parameters you mentioned, and it might be helpful to test the footfall detection separately. (We could share with you our development / testing code as jupyter notebooks if needed.)

  2. Yes, it would work, but you need to make some alterations. We use the x space parameters mainly to filter out multiple footfalls that occur at the same rung, in order to reduce false positive results. So you could simply remove the x coordinate related filtering parameters, otherwise most footfalls would be missing from the results.

We'll look into the other issues and get back to you in more detail later. Have a nice weekend!

from alma.

jlb98 avatar jlb98 commented on September 17, 2024

from alma.

sollan avatar sollan commented on September 17, 2024

Hello James,

We have a few suggestions regarding the issue you are facing:

  1. We're not quite sure about your axis range being from 1 to 10 - perhaps it would be helpful to share your recording / DLC file (or screenshots thereof) so we can better understand the problem? It is possible that the footfall depth shown on your axis range doesn't work with the preset prominence values.

  2. It could be that you're using a detection method that requires manually setting the parameters in the config.yaml file (mostly for additional preprocessing of the coordinate data, for specific recording scenarios - see our wiki page or the paper for more detailed description of the usage). We would recommend trying the "deviation" method, which does not require additional parameters and worked best for us so far.

Please also find the development code attached.

Best,
Annette

Ladder rung - deviation method testing.zip

from alma.

jlb98 avatar jlb98 commented on September 17, 2024

Hi Annette,

We solved the first issue by re-calibrating our axes. Using axes of roughly 0-376 for x and 0-240 for y, the footfall detection software works for all 3 algorithms and both the forelimb and hindlimb. We will experiment with changing the x parameters because we suspect some slips are being missed if they occur close in time.

Also, we solved the earlier import issue by downgrading pandas, as suggested.

Thank you for the help.

Best,
James

from alma.

sollan avatar sollan commented on September 17, 2024

Hi James! That's good to hear. Feel free to ask if you run into any other issues. Good luck with your analysis!

Best,
Annette

from alma.

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.