Giter VIP home page Giter VIP logo

Comments (3)

wmayner avatar wmayner commented on August 23, 2024 1

Thanks, this is a problem in another one of my libraries, pyemd. I'll have a look.

from pyphi.

sanjayankur31 avatar sanjayankur31 commented on August 23, 2024

Another one:

=================================== FAILURES ===================================
___________________________ [doctest] 2014paper.rst ____________________________
181     >>> subsystem.cause_repertoire((A,), (B, C, D))
182     array([[[[0.125, 0.125],
183              [0.125, 0.125]],
184     <BLANKLINE>
185             [[0.125, 0.125],
186              [0.125, 0.125]]]])
187 
188 And this gives us zero cause information:
189 
190     >>> subsystem.cause_info((A,), (B, C, D))
UNEXPECTED EXCEPTION: ValueError('Little-endian buffer not supported on big-endian compiler')
Traceback (most recent call last):
  File "/usr/lib64/python3.9/doctest.py", line 1336, in __run
    exec(compile(example.source, filename, "single",
  File "<doctest 2014paper.rst[12]>", line 1, in <module>
  File "/builddir/build/BUILD/pyphi-1.2.0/pyphi/subsystem.py", line 485, in cause_info
    return repertoire_distance(
  File "/builddir/build/BUILD/pyphi-1.2.0/pyphi/distance.py", line 281, in repertoire_distance
    dist = directional_emd(direction, r1, r2)
  File "/builddir/build/BUILD/pyphi-1.2.0/pyphi/distance.py", line 266, in directional_emd
    return round(func(d1, d2), config.PRECISION)
  File "/builddir/build/BUILD/pyphi-1.2.0/pyphi/distance.py", line 143, in hamming_emd
    return emd(d1, d2, _hamming_matrix(N))
  File "pyemd/emd.pyx", line 49, in pyemd.emd.emd
ValueError: Little-endian buffer not supported on big-endian compiler
/builddir/build/BUILD/pyphi-1.2.0/docs/examples/2014paper.rst:190: UnexpectedException
------------------------------ Captured log setup ------------------------------

from pyphi.

musicinmybrain avatar musicinmybrain commented on August 23, 2024

I just verified that this is still a problem with pyphi 1.2.1 and the latest dependencies in Fedora.

from pyphi.

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.