Comments (6)
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.
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.
from antrax.
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.
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.
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)
- What causes "Segmentation violation" during the tracking stage? HOT 2
- Running antrax on HPC / `MATLAB:badsubscript` and related errors during solve HOT 68
- `Dot indexing is not supported for variables of this type` error when running `validate` HOT 2
- MATLAB:badsubscript error crashes solve step HOT 2
- MCR Interface scaling on high resolution displays HOT 4
- Many small non-ant objects still tracked and classified HOT 2
- MATLAB:nonLogicalConditional during export HOT 5
- "ValueError: invalid literal for int() with base 10: 'images' " during classification step HOT 4
- [enhancement] Printing details of validation session
- Opening anTrax issue HOT 14
- Problems with compiling mex file HOT 1
- Extract Trainset Responding Slow HOT 3
- Problems with using command train HOT 7
- solve step 1 produce error contains `MATLAB:UndefinedFunction` HOT 4
- Solve step 2 Non-binary MAT file HOT 5
- The multi-colony masks do not get generated when using MATLAB full installation
- Potential graph corruption at solve 2 resulting three types of error messages in matlab_export_*.log HOT 5
- Classifying issues HOT 6
- problems with setting up the ffmpeg HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from antrax.