Giter Club home page Giter Club logo

Comments (4)

aleju avatar aleju commented on June 19, 2024 2

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.

SetarehMed avatar SetarehMed commented on June 19, 2024

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.

aleju avatar aleju commented on June 19, 2024

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.

SetarehMed avatar SetarehMed commented on June 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.