GithubHelp home page GithubHelp logo

Comments (11)

srikris avatar srikris commented on June 23, 2024

Can you share some more information about your system for us to be able to debug this issue?

  • Are you in a x86_64?
  • How much memory do you have on this machine? I have a suspicion that the default batch size (set to 512)

I have opened another issue #26 to track the issue related to memory.

from turicreate.

srikris avatar srikris commented on June 23, 2024

And if you happen to have a machine that is not x86_64, we don't support that and I've opened an issue to make sure future users will get an error earlier on #27.

from turicreate.

taflahi avatar taflahi commented on June 23, 2024

Yes, I am using x86_64. But, the machine is only have mediocre memory (8 gb). I also suspect something like the batch size (since the tutorial is not explicitly state the number).

I have tried on much smaller dataset (<100 images) and it works just fine.

from turicreate.

znation avatar znation commented on June 23, 2024

Assigning to you @gustavla - but if this turns out to be a WSL-specific issue feel free to assign to me. Thanks!

from turicreate.

francisbitontistudio avatar francisbitontistudio commented on June 23, 2024

Got a similar problem here, I'm using paper space ubuntu 16.04 ML-in-a-box, it is x86_64, 30G RAM, It happen not matter how large the batch size is. Any insights would be very appreciated!
image

from turicreate.

gustavla avatar gustavla commented on June 23, 2024

I have still not been able to reproduce this issue.

@francisbitontistudio Thanks for adding another sample point to this investigation. I also see that you are using the object detector, which means it is not limited to image similarity.

@taflahi @francisbitontistudio Can you please try the following?

>>> import mxnet as mx
>>> a = mx.nd.random_uniform(shape=(2, 3), ctx=mx.cpu())
>>> b = mx.nd.random_uniform(shape=(3, 2), ctx=mx.cpu())
>>> mx.nd.dot(a, b).asnumpy()

Can you also try this but replace mx.cpu() with mx.gpu() in case your machines have GPUs?

from turicreate.

francisbitontistudio avatar francisbitontistudio commented on June 23, 2024

@gustavla Thanks for reply. So with mx.gpu() it works, but same problem when using cpu for this script

image

image

from turicreate.

gustavla avatar gustavla commented on June 23, 2024

@francisbitontistudio Thanks, that is really useful! After further investigation, it turns out that the MXNet binaries for the 0.11.0 release were compiled with x86_64 extensions not available on all hardware. This seems to have been fixed in the 0.12.0 release, which unfortunately is not yet supported by Turi Create. We are working on this and consider it high priority (#17).

Until then, I really wish I had a better work-around, but the only sure way to fix it is to compile MXNet yourself from source. This could get tricky (instructions), so I will let you know if I think of a better work-around. Sorry about this and thanks again for helping track this down.

from turicreate.

gustavla avatar gustavla commented on June 23, 2024

I may have found a work-around, although proceed with caution. MXNet puts up what looks to be nightly builds. I tried one of the 0.11 ones and this seems to resolve this issue. I do not know much about these versions, so I can't guarantee everything else will work correctly. Turi Create will also still complain that you have the wrong MXNet version.

pip install -U mxnet==0.11.1b20170822

Another thing you can do is install version 0.12.1. I am actually working on support for that version right now and the only issue seems to be in the Activity Classifier. So, if you are not using that model, then it should work and you can ignore the warning. This is of course only a temporary work-around until official support has been added.

from turicreate.

francisbitontistudio avatar francisbitontistudio commented on June 23, 2024

@gustavla using 0.12.1 works for me. Thanks a lot!

from turicreate.

gustavla avatar gustavla commented on June 23, 2024

Since MXNet support will be extended beyond 0.11 in the next release (#129, #164), I'm closing this issue.

from turicreate.

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.