Giter Club home page Giter Club logo

Comments (6)

asafgal avatar asafgal commented on May 27, 2024

Hey Daniel,

I'm afraid I don't have experience with M1 myself, so I can only guess what the issues are.

I think your problem is with tensorflow, which needs to be specifically compiled to M1. To make sure this is indeed the issue, try launching a python console and import tensorflow, and see if you get the same error as when launching antrax.

A full solution to this issue might be tricky. But we can try a temporary workaround:

Follow one of the online cheatsheets for installing tensorflow on M1 (e.g. here).

After you install the M1 version of tensorflow, try installing antrax into the same environment. Before you do, remove the tensorflow dependency line from the setup.py file of antrax.

Now try to launch antrax.

This will allow you to start using the configuration gui and the first tracking step. You might have more issues down the road because of incompatibility between the M1 version of tensorflow and the TF code in antrax, which was developed with an old version of TF. We'll have to see about that.

Good luck

from antrax.

dknebel avatar dknebel commented on May 27, 2024

Hi Asaf,
Following your suggestion, I got a bit further with the installation. Now the track function seems to work, however the configure function seems to have problems associating with MATLAB. I am not sure if this is still a m1 issue. Here is the error I get:

File .../antrax.mlapp, line 3567, in antrax.antrax
Unable to resolve the name vision.BlobAnalysis.

I did add the repository to my MATLAB search path.
Any idea what might cause it?

Thanks!

from antrax.

asafgal avatar asafgal commented on May 27, 2024

from antrax.

dknebel avatar dknebel commented on May 27, 2024

Hi again,
Thanks for the quick reply - indeed computer vision toolbox wasn't install. Now the configure function runs ok.
However, when running the train and classify function I get the following message:

AttributeError: 'Sequential' object has no attribute '_make_predict_function'

I guess it has to do with me trying to run anTraX with a new version of TensorFlow (which works with the m1 Mac). Do you think there's a way to work around it?

Once again, thanks a lot for the support!

from antrax.

asafgal avatar asafgal commented on May 27, 2024

Yeah, I was expecting this compatibility as anTraX uses an old TF version. The solution is to update anTraX to use latest TF, but it will take some time until I'll get to actually doing it. My suggestion is for now to do the these steps on some linux server, as anyhow they do not include a graphical interface.

from antrax.

dknebel avatar dknebel commented on May 27, 2024

OK, will leave the Mac for now. Thanks for the support till now, and looking forward for the update.

Thanks!

from antrax.

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.