Comments (1)
I believe the issue here is that colab uses an old version of python (v3.7), so when you run !pip install intensity-normalization
you're going to get the last version of the package that was compatible with the Colab version of python which isn't the latest version of intensity-normalization
(so typing
wasn't a module causing the error).
If you run: !pip install "intensity-normalization==2.2.3"
(the latest version as of this issue), you'll receive an error (unless you've jury-rigged python v3.9 in colab) because that version isn't compatible with v3.7.
I had to drop support for older versions of python because I'm the only person maintaining this package and maintaining this package already takes too much time.
So, unfortunately, if you need to use colab, you'll have to generate the documentation for that version (run import intensity_normalization; print(intensity_normalization.__version__)
to get the version) to get the correct module/function/class names, although the docs might be out-of-date depending which version you have to use.
I can't support correcting documentation/bugs in old versions of the code though or adding support for older versions of Python; frankly, I wouldn't even accept a pull request to add support for older versions of Python because I'd probably be the one stuck maintaining it.
I'd strongly suggest just not using colab though, and using the latest version of the package which is only compatible with python v3.9 version (and greater once SimpleITK supports python v3.10).
If you use the latest version of the code and run into a bug, please open a separate issue!
from intensity-normalization.
Related Issues (20)
- Add a citation file
- Improve contributing information
- Add numpy mypy plugin HOT 1
- Improve unit tests HOT 1
- Verify correctness of update to use pymedio HOT 1
- Fix mypy issues in update to use pymedio HOT 2
- Add note about scanner gain in MR pulse sequence equations
- Add pre-commit hooks HOT 1
- Add option to specify output file type
- What is the "MD" modality? And other questions. HOT 14
- Out-of-memory error in Nyul for large amounts of data HOT 4
- "TypeError: Axis must be specified when shapes of a and weights differ." in the LSQ method
- problems when importing the API HOT 1
- request for tutorial of Z score HOT 9
- Update docs in the style of Diátaxis
- Fix histogram plotting when passing in a tissue mask in FCM normalizer
- Using normalization methods -- bash HOT 1
- error when importing HOT 4
- Skfuzzy dependency breaks compatibility with Python 3.12 HOT 1
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 intensity-normalization.