Deeptrack

Latest version: v1.7.0

Safety actively analyzes 621673 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

5.0034891

2.0.11.5

2.0.11.3

2.0.11.0

2.0.7.4

2.0.0

This major release is a significant update that includes the migration to PyTorch and integration with the `deeplay` library. This version focuses on PyTorch/Deeplay integration, performance optimization, and a more rigorous approach to utilizing static data from disk.

Breaking Changes
Image Objects
- Pipelines no longer return `Image` objects by default, to improve performance and compatibility with other libraries. This change will not affect you unless you directly interact with the `.properties` attribute or call `.get_properties(.)` on pipeline outputs.
- If you need `Image` objects, you can enable them by using `pipeline.store_properties()`, restoring the behavior from previous releases.

TensorFlow Dependency Removed
- TensorFlow has been removed as a dependency due to compatibility issues and the complexity of maintaining it alongside major Python versions, especially on Windows.
- We will not actively support TensorFlow versions newer than 2.10. Users are encouraged to manage TensorFlow installations independently.

What's New
Global Changes
- Many submodules are now lazily loaded, only initializing when needed. This change significantly speeds up initial load times and reduces TensorFlow-related issues for users not requiring neural network functionalities.

Sources
- Introducing `Sources`, a new method for efficiently operating on static datasets. This feature addresses common problems with data manipulation and pipeline evaluation, allowing for more functional and efficient dataset handling.

PyTorch Integration
- PyTorch code is available in the `pytorch` submodule, which is lazy-loaded to prevent unnecessary overhead. This update includes:
- `pytorch.Dataset`: A subclass of `torch.utils.data.Dataset`, making DeepTrack pipelines compatible with standard `DataLoader`s.
- `pytorch.ToTensor`: A feature for converting pipeline outputs to PyTorch tensors, with support for specifying the `dtype`.

Performance Optimization
- This release is centered on performance optimization and a more effective way of using static data, enhancing the user experience and streamlining workflows.

`deeplay`
- The `deeplay` library is now accessible as `deeptrack.deeplay`, offering a powerful and flexible foundation for constructing neural networks with PyTorch.

This update marks a significant milestone in DeepTrack's development, emphasizing our commitment to performance, usability, and modern deep learning practices. We're excited to see how these improvements will enable our users to achieve even more with DeepTrack.

Cite as:
Benjamin Midtvedt, Saga Helgadottir, Aykut Argun, Jesús Pineda, Daniel Midtvedt, Giovanni Volpe.
"Quantitative Digital Microscopy with Deep Learning."
Applied Physics Reviews 8, 011310 (2021)

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.