Git Product home page Git Product logo

Comments (7)

yousongzhu avatar yousongzhu commented on June 15, 2024 6

yes, just update the yaml to version 3.12 will solve the problem.
PyYAML-3.12: http://pyyaml.org/download/pyyaml/PyYAML-3.12.zip.
unzip PyYAML-3.12.zip
cd PyYAML-3.12
python setup.py install

from detectron.

ir413 avatar ir413 commented on June 15, 2024

Hi @gaopeng-eugene, which versions of numpy and yaml are you using? We recommend using numpy version 1.13 and yaml version 3.12.

from detectron.

rbgirshick avatar rbgirshick commented on June 15, 2024

Thanks @ir413 and thanks for confirming @tshizys.

from detectron.

sararojas avatar sararojas commented on June 15, 2024

I have the same problem but I have yaml with 3.12 version and numpy with 1.14 version, so I suppose that I install numpy 1.13? Thanks.

from detectron.

bipulneupane avatar bipulneupane commented on June 15, 2024

Hi! I have the same problem.
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
I have installed numpy 1.13 and pyyaml 3.12 in my conda environment. It still shows the same error even if the version of numpy and pyyaml has been changed.

Is there any other ways to solve this value error?

from detectron.

ChongZhangZC avatar ChongZhangZC commented on June 15, 2024

@sararojas I have the same problem and use numpy1.14. Did you solve the problem?
Thanks a lot!

from detectron.

sararojas avatar sararojas commented on June 15, 2024

from detectron.

Related Issues (20)

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.