Replies: 8 comments
-
I provvisionali solved the problem by using "try" in the "do_matching" section in the workflow file in this way, but it doesn't seem to work properly.
|
Beta Was this translation helpful? Give feedback.
-
Hi Stefano, Thanks for your comment! I actually know this bug but I was too lazy to fix it. But, with the help of your report, I finally tried to fix it, so I just pushed a small update to the master branch. Could you please try to download the new version, reinstall MyPTV, and let me know if this works? In case it won't work, please share with me you camera and blob files, and then I'll be able to properly do the debugging. Best, |
Beta Was this translation helpful? Give feedback.
-
Hi Ron and Stefano, I have tried to download the new version of MyPTV and run the matching module on the same set of data Stefano was using. I found that my matching stops at the frame (frame 9, the same as in Stefano's error) where no particles have been segmented and my error is a bit different from Stefanos from what I see from the terminal. For completeness, I also post the data we've been using with segmented images (blob_cam files) and camera files of the setup. Thank you very much for this, Best, Alessandro |
Beta Was this translation helpful? Give feedback.
-
Hi, Sorry for the else instead of except - silly typo. Best, |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi Stefano, It seems we probably are usin different versions of Scipy which leads to the error in my attempted workaround. Best, |
Beta Was this translation helpful? Give feedback.
-
Hi Ron, It is a bit strange that it was related to the scipy version, as I was using a clean virtual environment + installing the requirements directly from your files. Anyway it seems to work now, thanks! Stefano |
Beta Was this translation helpful? Give feedback.
-
Good. It is likely that I have an older scipy version installed. Good luck with your experiments, and don't forget to share your cool results :) Ron |
Beta Was this translation helpful? Give feedback.
-
Hi MyPTV community,
I noted a "bug" about matching module. When calling "matching" with the workflow file, the cycle stop when no particles are present or when no particles can be matched in a given frame (see attached screenshot for the error).
Where do you believe is the best place to fix this? Modifying the workflow file or the module itself?
Beta Was this translation helpful? Give feedback.
All reactions