Comments (4)
Augmenters were made callable in the last release. So your installation is probably just outdated. Try updating your version of imgaug
via something like pip install --upgrade imgaug
or pip install --upgrade git+https://github.com/aleju/imgaug.git
.
from imgaug-doc.
well my imgaug version is 0.2.9 and my python is 3.5.2!
I tried the upgrading,but the issue is still there!
@aleju
from imgaug-doc.
Seems to work fine for me after pip uninstall imgaug && pip install imgaug
:
In [1]: import imgaug as ia
In [2]: import imgaug.augmenters as iaa
In [3]: import numpy as np
In [4]: ia.__version__
Out[4]: '0.2.9'
In [5]: iaa.Sequential([iaa.Noop()])(image=np.zeros((1, 1, 3), dtype=np.uint8))
Out[5]: array([[[0, 0, 0]]], dtype=uint8)
What is your output for import imgaug; print(imgaug.__version__)
?
Is there maybe a subdirectory called imgaug
in the path where you are running the commands? It might contain an outdated version of the library and would have precedence over the pip installation.
from imgaug-doc.
The versions were update, but for some reasons it was not working!
after tries on an other day, they appeared to work without the mentioned error… ! :D
Thank you for your Reply anyway.
from imgaug-doc.
Related Issues (19)
- Confusing info on JPG Compression HOT 1
- Augmenting data that was annotated using COCO format HOT 2
- AssertionError: Expected number of channels to be three, got 3 channels with shape (512, 512, 1). HOT 1
- Conda install doesnt work HOT 1
- Exporting seq to json
- Inverse is needed for object detection
- AttributeError: module 'imgaug' has no attribute 'imshow' HOT 2
- Question : Does imgaug support combining two or more images together as part of augmentation? HOT 1
- Docu update bbs attribute label
- do we have reversible (equivariant) augmentation in here?
- Missing Support for arbitary dtypes and frames dimension HOT 2
- colab mportError: cannot import name 'SegmentationMapsOnImage' from 'imgaug.augmentables.segmaps' (/usr/local/lib/python3.7/dist-packages/imgaug/augmentables/segmaps.py)
- imgaug.py:2120: MatplotlibDeprecationWarning: The set_window_title function was deprecated
- bounding boxes leaving and entering again the image
- LaTeX at notebooks/A02 doesn't work HOT 1
- about the aug in a batch
- Tracking Augmentation Parameters Applied
- question: module 'numpy' has no attribute 'bool' 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 imgaug-doc.