Comments (7)
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.
from alma.
Hi James! Thanks for your elaborate message. We really appreciate your interest!
Quick answers to your questions about your use case:
-
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.)
-
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.
from alma.
Hello James,
We have a few suggestions regarding the issue you are facing:
-
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.
-
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.
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.
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)
- Add tests
- IndexError: list index out of range
- numpy incompatibility with sklearn HOT 7
- problem of python ./alma.py HOT 2
- numpy error HOT 2
- Has this been tested on animals beside rodents? HOT 1
- KeyError: 'toe x' when importing csv in Treadmill HOT 7
- Alma. py is not starting HOT 16
- python package with conflicting dependency HOT 1
- Object has no attribute 'n_pred HOT 2
- Alma.py is not launching up HOT 5
- Errors and example dataset HOT 1
- Problem with preparing metadata HOT 1
- Regarding issue with GAIT analysis HOT 7
- AttributeError: 'NoneType' object has no attribute 'to_csv' HOT 4
- Question HOT 4
- How to extract the variables/parameters associated with each principal component? HOT 2
- Issue while opening ALMA HOT 6
- "Input vector should be 1-D" HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alma.