frankkramer-lab / aucmedi Goto Github PK
View Code? Open in Web Editor NEWa framework for Automated Classification of Medical Images
Home Page: https://frankkramer-lab.github.io/aucmedi/
License: GNU General Public License v3.0
a framework for Automated Classification of Medical Images
Home Page: https://frankkramer-lab.github.io/aucmedi/
License: GNU General Public License v3.0
Method Lime - Pro
Method Lime - Con
Implement cv2 resize and check speed comparison
Aspect Ratio Padding for aucmedi with find_ratio in utils
For binary, multi-class and multi-label
Normal train,test split
Cross-Validation split
/images/...
classes.json/.csv
or
/images/class_a/...
/images/class_b/...
/images/class_c/...
https://gist.github.com/you359/d19449a1c64bb43519a11e5d9d430453
https://github.com/experiencor/deep-viz-keras/blob/master/guided_backprop.py
https://stackoverflow.com/questions/55924331/how-to-apply-guided-backprop-in-tensorflow-2-0
https://mydeeplearningnb.wordpress.com/2019/07/24/visualizing-cnns-using-tensorflow/
Should all seeds be set to 0 as default parameter or random (None)?
Current implementation is None.
Currently everything is analyzed in a single run.
For large datasets -> impossible
Implement that only one image at a time is processed.
Add overlap on image active/inactive boolean parameter to decoder & visualizer
XAI shouldn't be able to run on 3D :/
Method:
Add documentation that default Keras preprocess_input modes don't support grayscale images
For each class: c
-> Compute n_samples / (n_classes * n_occurences_for_c)
compute sample weights by multiplying weights together for each sample
Check out this:
https://scikit-learn.org/stable/modules/generated/sklearn.utils.class_weight.compute_sample_weight.html
Delete model at the end for ensemble learning stacking or bagging approaches
Does 0.9 to 1.1 scaling means doubling?
4k x 4k images resulted in 8k x 8k?
Das war die Fehlermeldung, die ich bekommen habe, welche ich dann mit dem deinstallieren und neu installieren von opencv_python gelöst habe:
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-12-8cde4f83d73a> in <module>()
----> 1 from aucmedi.data_processing import io_data
2 dataset_loader = io_data.input_interface("directory", path_imagedir="/content/Tuberculosis_Classification", path_data=None, training=True, ohe=False)
11 frames
/usr/local/lib/python3.7/dist-packages/cv2/__init__.py in <module>()
7
8 from .cv2 import *
----> 9 from .cv2 import _registerMatType
10 from . import mat_wrapper
11 from . import gapi
ImportError: cannot import name '_registerMatType' from 'cv2.cv2' (/usr/local/lib/python3.7/dist-packages/cv2/cv2.cpython-37m-x86_64-linux-gnu.so)
---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
Delete last model before overwriting when loading a new model
Problem: Tensorflow caches various model variables which can lead to OOM when switching multiple times between different models.
Solution: clear session when loading a new model.
tf.keras.backend.clear_session()
Note for me: clear_session probably not working when using multiple model variables!!!
Note for Ensemble Learning: Delete models at the end to avoid this issue
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.