2.1 improvements and new features #100
-
Hello, First of all, thank you very much for your work and for making deep learning tools accessible to non-experts. So far most of my work as been based on your older example for multiple particle tracking, and I've noticed a few differences in the newer one, such as a different way to get the "mask" of particles on simulated data, but, perhaps most importantly, the layers of the UNet aren't the same. As the changelog suggested that more models were added, I looked into the docs and found several new models. Another interesting feature is dt.Sequential, as I'm analyzing videos but so far my model has been trained on a series of independent images. However, in the relevant example, a RNN model is used. Which model would be the most appropriate for multiparticle tracking ? As an aside, your "analyzing videos" tutorial breaks on cell 3.4 in Google Colab with Thank you very much ! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi! You've spotted a few misses on our side already, and for that we're grateful! You're right that what you found, LodeSTAR, in turn, does have many examples of how to use it! All can be found in examples/lodestar. There's a also preprint available here: https://arxiv.org/abs/2202.13546. In short, it's a method for training a particle tracker directly on experimental data, without requiring annotations (more than a rough crop of a region containing a single object that you want to track). It significantly outperforms the old method in terms of sub-pixel accuracy, and usually in detection accuracy as well. However, for highly noisy data (such as yours) the difference in detection quality is smaller. I would recommend trying it out since the amount of effort required to get it to work is much less than typical tracking methods. Sequential has existed before 2.1, though it has been improved in terms of efficiency. While RNN-Unet combinations for tracking exist, they are significantly harder to train and optimize. I would not recommend them at this time. This release also comes with the new model Thank you for letting me know about the issue with the tutorial. We will look into it! |
Beta Was this translation helpful? Give feedback.
-
Thank you for the answer ! I've started experimenting with LodeSTAR, and it is already much simpler to get results out of it. However, I'm assuming results can be variable depending on which crop I use for training ? I've also noticed that the model seems to be very unstable when trying with different hyperparameters than those provided in the example notebook (i.e. 30 epochs and batch size of 8), returning the following in Colab :
I will keep optimizing the older UNet examples, but LodeSTAR seems very promising ! I'll run it on my entire dataset and see how it compares in terms of precision of localization and amount of data extracted. |
Beta Was this translation helpful? Give feedback.
-
Hi again, Sorry to bring this back up after such a long time, a lack of time and ressources meant that I couldn't get something properly working with DeepTrack. I've been loosely following the updates of this repo over time, and it's great to see it's being actively maintained. I just had a couple of questions before diving back into the tutorials and examples :
Thanks a lot ! |
Beta Was this translation helpful? Give feedback.
Hi!
You've spotted a few misses on our side already, and for that we're grateful! You're right that what you found,
AutoMultiTracker
is our new recommended way of doing multi-particle tracking. However, it has been renamedLodeSTAR
in the code. Seems like the documentation has not correctly reflected this. I will make sure to fix it.LodeSTAR, in turn, does have many examples of how to use it! All can be found in examples/lodestar. There's a also preprint available here: https://arxiv.org/abs/2202.13546. In short, it's a method for training a particle tracker directly on experimental data, without requiring annotations (more than a rough crop of a region containing a single object that yo…