Giter VIP home page Giter VIP logo

Comments (10)

danielballan avatar danielballan commented on July 28, 2024

Thanks for investigating. I will leave the README as it is, recommending numba 0.11 with numpy 1.7.1, until numba rights itself.

from trackpy.

nkeim avatar nkeim commented on July 28, 2024

I see now how to do the "major rewrite" of _refine_numba(): pass in a big results array (along with its length) to be changed in-place; split make all of the little length-2 vectors into _x and _y components.

It might be less work to do it in Cython. But that's only if Cython makes it easy to overload the function to accept images with a variety of dtypes.

I'm concerned about the "out-of-the-box" experience now for someone who downloads the latest Anaconda and then trackpy. Is there an easy conditional way to just keep numba's mitts off of _refine_numba() altogether?

from trackpy.

danielballan avatar danielballan commented on July 28, 2024

From what I've read, conda doesn't make cython as painless as it does numba. (For example, if a Windows machine doesn't have the right C compiler, conda can't help it.) But am I no expert on that -- cython might be a viable choice.

The slow import time is bad. Maybe numba is compiling everything on import now. I can't find detailed release notes. Have you come across any? I pinged ContinuumIO's twitter account about it too. It might not be in the open.

See #83 for one approach that could serve in the meantime. Not sure if it passes local tests yet -- they are running really slow -- but import trackpy is back to normal speed.

from trackpy.

danielballan avatar danielballan commented on July 28, 2024

Take a look at this: https://twitter.com/teoliphant/status/433993752625942530

This prompts the question, "Why is this the new default?!"

from trackpy.

tacaswell avatar tacaswell commented on July 28, 2024

Better question: why is this being announced via twitter?

also, get off my lawn.

from trackpy.

nkeim avatar nkeim commented on July 28, 2024

Get off my lawn, indeed! :)

https://discussions.apple.com/thread/5472161?start=0&tstart=0

On Feb 13, 2014, at 3:07 PM, Thomas A Caswell [email protected] wrote:

Better question: why is this being announced via twitter?

also, get off my lawn.


Reply to this email directly or view it on GitHub.

from trackpy.

danielballan avatar danielballan commented on July 28, 2024

Hmm...

https://twitter.com/teoliphant/status/434074669616869376

from trackpy.

danielballan avatar danielballan commented on July 28, 2024

Travis himself invites us to post the broken code for priority attention: https://twitter.com/teoliphant/status/434076107738865664

@nkeim seems to understand the problem well enough, but I guess it doesn't hurt to get expert advice as it's offered. Hard to reduce _refine_numba to a self-contained concise question...

from trackpy.

danielballan avatar danielballan commented on July 28, 2024

@nkeim probably could have said it better, but I wanted to jump at Travis's offer while it was fresh in mind. Feel free to chime in. https://groups.google.com/a/continuum.io/forum/#!topic/numba-users/-lNug_ZI2xs

from trackpy.

nkeim avatar nkeim commented on July 28, 2024

Thanks! I added a link to a stripped-down, standalone version of feature.py that still causes the problem --- one of my failed experiments.

On Feb 13, 2014, at 4:46 PM, Dan Allan [email protected] wrote:

@nkeim probably could have said it better, but I wanted to jump at Travis's offer while it was fresh in mind. Feel free to chime in. https://groups.google.com/a/continuum.io/forum/#!topic/numba-users/-lNug_ZI2xs


Reply to this email directly or view it on GitHub.

from trackpy.

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.