Comments (5)
I would also be interested to swap out SPAMS for a more standard dependency like sklearn if possible. Presently I use SPAMS for two tasks:
- Lasso regression in
get_concentrations
forFancyNormaliser
. - Dictionary learning in Vahadane method.
SPAMS has the nice functionality that you can constrain variables to be positive when dictionary learning (http://spams-devel.gforge.inria.fr/doc-python/html/doc_spams004.html#sec5) which is needed for Vahadane and I don't see this in sklearn (http://scikit-learn.org/stable/modules/generated/sklearn.decomposition.DictionaryLearning.html)? For the lasso regression we also want a positivity constraint but I believe this is possible in both SPAMS (http://spams-devel.gforge.inria.fr/doc-python/html/doc_spams005.html#sec15) and sklearn (http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.Lasso.html).
Whether SPAMS or sklearn I prefer to use the same for both tasks for consistency and keeping number of dependencies down - that's why I use SPAMS at the moment.
from staintools.
Well you're more than welcome to try - won't know how effective this would be until then. If it works we could keep both methods and leave choice up to user?
from staintools.
label as discussion?
from staintools.
SPAMS is now available via PyPI test site and will hopefully be on PyPI soon so closing for now
from staintools.
@jgamper did you find any solutions that sped up the augmentor? I've been testing out Macenko augmentation in my pipeline, but sadly its just too slow for me to properly utilize the GPU. Would be nice to have this augmentor as a tensorflow-layer or similar to run this more efficiently, but then on GPU. But perhaps I'll look into other faster alternatives. Currently, HSV is the way to go, but I feel like its just a little too näive for H&E-stained WSIs
from staintools.
Related Issues (20)
- ModuleNotFoundError after installation HOT 3
- Make `pip install` great again (2) pip install documentation? HOT 1
- Floating point exception (core dumped) HOT 13
- Negative optical density issue HOT 1
- About stain normalization speed..... HOT 1
- Principal Eigen vectors inversion, based on the principal eigen vector HOT 5
- Pip install broken HOT 7
- AssertionError: Negative optical density. HOT 10
- The software stops when have a empty tissue image when I tried to process hundreds of images HOT 3
- AttributeError: module 'staintools' has no attribute 'BrightnessStandardizer' HOT 2
- Copyright and usage question HOT 2
- ModuleNotFoundError after installation HOT 1
- Failed building wheel for spams HOT 1
- numpy.linalg.LinAlgError when calling transform HOT 2
- bad_array_new_length via vahadane/macenko on very large image
- MultiProcessing HOT 3
- omp_set_nested routine deprecated, please use omp_set_max_active_levels instead.
- GPU accelerate?
- Question about Normalization for Immunohistochemical Stainings
- Problem of using StainTools for a tensor input
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 staintools.