Comments (7)
@kcambrek I believe that having install modal
interfers with the import of modAL-python
. I deleted the virtual enviroment and reinstalled all the requirements, including modAL-python>=0.4.1
. The problem was solved.
If you don't want to delete the whole enviroment and install the packages, maybe try:
pip uninstall modal
pip install --force-reinstall --no-cache-dir modAL-python>=0.4.1
from modal.
import modAL
still seems not to work. I tried different versions of modAL-python.
`----> 4 from modAL.models import ActiveLearner
5 from modAL.uncertainty import uncertainty_sampling
ModuleNotFoundError: No module named 'modAL'
`
import modal
results in `---> 12 from modAL.utils.validation import check_class_labels, check_class_proba
13 from modAL.uncertainty import uncertainty_sampling
14 from modAL.disagreement import vote_entropy_sampling, max_std_sampling
ModuleNotFoundError: No module named 'modAL'`
Changing the name package folder from "modal" to "modAL" worked..
from modal.
this is pretty serious as packages depending on modal cannot be installed properly now
from modal.
Could we update the docs to the new package name? This puzzled me for a little while.
https://modal-python.readthedocs.io/en/latest/content/overview/Installation.html#
Happy to PR if helpful
from modal.
The new package name is modAL-python
. I have indicated this in the docs and in #168, but I won't close this issue for more visibility.
from modal.
Changing the name package folder from "modal" to "modAL" worked..
Doing this i am getting AttributeError: 'ActiveLearner' object has no attribute 'bootstrap_init'
from modal.
Poetry as package manager:
from modAL.models import ActiveLearner
-> ModuleNotFoundError: No module named 'modAL'
from modal.models import ActiveFeedback
->
3 import numpy as np
----> 4 from modAL.acquisition import max_EI
5 from modAL.disagreement import max_std_sampling, vote_entropy_sampling
6 from modAL.models.base import BaseCommittee, BaseLearner
ModuleNotFoundError: No module named 'modAL'
I cannot get it to run. From my point of view the library is completely unusable at the moment.
from modal.
Related Issues (20)
- How to extract the image names and labels in the training set after completing the active learning loop and write them to a CSV file
- decision_function instead of predict_proba HOT 5
- AttributeError: bootstrap_init HOT 3
- TypeError: cannot concatenate object of type '<class 'numpy.ndarray'>'; only Series and DataFrame objs are valid
- Can I use modAL with estimators from other libraries than scikit-learn like xgboost? HOT 1
- Which sampling method is best for very unbalanced data? HOT 1
- Encountering error with number of batches per epoch
- mmdetection integration with modAL
- Adding active learning regression implementations based on greedy sampling HOT 2
- modAL not installable via pypi anymore HOT 3
- Data augmentation with `skorch`
- QBC approach for multi-class classification
- Suggestion on how to improve acquisition.UCB for active GP example HOT 1
- QBC stratified bootstrapping HOT 1
- Use modAL on BERT models HOT 1
- Spacy NER HOT 1
- raise ImportError( ImportError: C extension: None not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext' to build the C extensions first.
- uncertainty query for 2d classifier output
- The installation guide in the docs is wrong HOT 4
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 modal.