Comments (7)
Edit: the errors are the same between the commits, the difference that confused me that with the second command MATLAB did not attempt to load a GUI. Please ignore this thread for now.
from antrax.
Totally my fault here (the graph-explorer issue), I was careless with patching this issue. Try now.
from antrax.
By 'Try now' you mean pulling from the debug-jana
branch, right?
I did not notice a difference in terms of performance with MCR, with MATLAB it looks the same locally and loads normally remotely. I think #5 is the real issue here...
To re-iterate, this error occurs locally:
(matlab2019a) jana@str09:~/src/anTraX-data$ antrax graph-explorer JS16/
==================================================================================
Welcome to anTraX - a software for tracking color tagged ants (and other insects)
==================================================================================
Undefined function or variable 'graph_explorer'.
Traceback (most recent call last):
File "/home/jana/anaconda3/envs/matlab2019a/bin/antrax", line 8, in <module>
sys.exit(main())
File "/home/jana/anaconda3/envs/matlab2019a/lib/python3.6/site-packages/antrax/cli.py", line 651, in main
""")
File "/home/jana/anaconda3/envs/matlab2019a/lib/python3.6/site-packages/sigtools/modifiers.py", line 158, in __call__
return self.func(*args, **kwargs)
File "/home/jana/anaconda3/envs/matlab2019a/lib/python3.6/site-packages/clize/runner.py", line 363, in run
ret = cli(*args)
File "/home/jana/anaconda3/envs/matlab2019a/lib/python3.6/site-packages/clize/runner.py", line 220, in __call__
return func(*posargs, **kwargs)
File "/home/jana/anaconda3/envs/matlab2019a/lib/python3.6/site-packages/clize/runner.py", line 262, in _cli
return func('{0} {1}'.format(name, command), *args)
File "/home/jana/anaconda3/envs/matlab2019a/lib/python3.6/site-packages/clize/runner.py", line 220, in __call__
return func(*posargs, **kwargs)
File "/home/jana/anaconda3/envs/matlab2019a/lib/python3.6/site-packages/antrax/cli.py", line 142, in graph_explorer
launch_matlab_app('graph_explorer', args, mcr=mcr)
File "/home/jana/anaconda3/envs/matlab2019a/lib/python3.6/site-packages/antrax/matlab.py", line 204, in launch_matlab_app
app = eval('eng.' + appname + '(' + ','.join([str(a) for a in args]) + ')')
File "<string>", line 1, in <module>
File "/home/jana/anaconda3/envs/matlab2019a/lib/python3.6/site-packages/matlab/engine/matlabengine.py", line 71, in __call__
_stderr, feval=True).result()
File "/home/jana/anaconda3/envs/matlab2019a/lib/python3.6/site-packages/matlab/engine/futureresult.py", line 67, in result
return self.__future.result(timeout)
File "/home/jana/anaconda3/envs/matlab2019a/lib/python3.6/site-packages/matlab/engine/fevalfuture.py", line 82, in result
self._result = pythonengine.getFEvalResult(self._future,self._nargout, None, out=self._out, err=self._err)
matlab.engine.MatlabExecutionError: Undefined function 'graph_explorer' for input arguments of type 'int64'.
And this is the normal output when ran remotely with ssh -X
:
==================================================================================
Welcome to anTraX - a software for tracking color tagged ants (and other insects)
==================================================================================
03/02/21 13:35:06 -D- antrax cli entry point
13:35:22 -D- starting antrax configure app
13:35:24 -D- set_experiment function
13:35:24 -D- initializing expreader object
13:35:24 -I- Reading video information from file
13:35:39 -I- opening video file JS16/videos//1_6/JS16_1.mp4
13:35:39 -D- Running ffprobe #1 for file JS16/videos//1_6/JS16_1.mp4
mov,mp4,m4a,3gp,3g2,mj2
10402940
13:35:39 -D- Running ffprobe #2 for file JS16/videos//1_6/JS16_1.mp4
960
720
yuvj420p
10/1
0.000000
300.000000
3000
13:35:40 -D- antrax configure app ready!
I think this issue is redundant with #5. Sorry for starting it - I thought I saw a new error...
from antrax.
No, you are absolutely right - when patching the issue for mcr I broke the same functionality with full matlab.
Pull & try again now.
from antrax.
This is so confusing...
Pull & try again now.
It does not complain anymore when I run it locally, so your last commit fixed the issue.
What is extremely confusing is that
- It never stopped working through
ssh -X
- The GUI still doesn't work locally with MATLAB (#5 )
Anyway, thank you for fixing this issue. This discrepancy between local and ssh got me so confused I wasn't sure if the errors I saw were "real" :)
from antrax.
Thank you for helping improve anTraX! Hopefully it will justify the effort :-)
from antrax.
Thank you for helping :-)
from antrax.
Related Issues (20)
- `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
- Installation issue on m1 Mac HOT 6
- 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
- Installation issue
- Problem with anTraX-MATLAB link
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.