raytheonbbn / tak-ml Goto Github PK
View Code? Open in Web Editor NEWTAK-ML - A machine learning framework for use with the TAK ecosystem (specifically ATAK and TAK Server at the moment)
License: GNU General Public License v3.0
TAK-ML - A machine learning framework for use with the TAK ecosystem (specifically ATAK and TAK Server at the moment)
License: GNU General Public License v3.0
I tried to build the tak-ml plugin from the source code, however, something seems went wrong. I cannot load the plugin I build, and the plugin.xml inside the project seems incorrect. May you take a minute to update the code of the latest version that published on tak.gov? Thank you very much.
I've set up a Ubuntu environment on a AWS server, where I've installed Python (3.10.12) and Java (OpenJDK Runtime Environment (build 19.0.2+7-Ubuntu-0ubuntu322.04)).
After that I wanted to install the TAK-ML server, but when executing the takml_1.0 (legacy)/takml-mx-server/scripts/setup.sh, I'm getting errors:
Collecting gevent==1.4.0
Using cached gevent-1.4.0.tar.gz (5.2 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 14, in <module>
File "/usr/local/lib/python3.10/dist-packages/setuptools/__init__.py", line 11, in <module>
from setuptools.extern.six.moves import filterfalse, map
File "/usr/local/lib/python3.10/dist-packages/setuptools/extern/__init__.py", line 1, in <module>
from pkg_resources.extern import VendorImporter
File "/usr/local/lib/python3.10/dist-packages/pkg_resources/__init__.py", line 71, in <module>
__import__('pkg_resources.extern.packaging.requirements')
File "/usr/local/lib/python3.10/dist-packages/pkg_resources/_vendor/packaging/requirements.py", line 9, in <module>
from pkg_resources.extern.pyparsing import stringStart, stringEnd, originalTextFor, ParseException
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 672, in _load_unlocked
File "<frozen importlib._bootstrap>", line 632, in _load_backward_compatible
File "/usr/local/lib/python3.10/dist-packages/pkg_resources/extern/__init__.py", line 42, in load_module
__import__(extant)
File "/usr/local/lib/python3.10/dist-packages/pkg_resources/_vendor/pyparsing.py", line 696, in <module>
collections.MutableMapping.register(ParseResults)
AttributeError: module 'collections' has no attribute 'MutableMapping'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
Collecting sklearn
Using cached sklearn-0.0.post9.tar.gz (3.6 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 14, in <module>
File "/usr/local/lib/python3.10/dist-packages/setuptools/__init__.py", line 11, in <module>
from setuptools.extern.six.moves import filterfalse, map
File "/usr/local/lib/python3.10/dist-packages/setuptools/extern/__init__.py", line 1, in <module>
from pkg_resources.extern import VendorImporter
File "/usr/local/lib/python3.10/dist-packages/pkg_resources/__init__.py", line 71, in <module>
__import__('pkg_resources.extern.packaging.requirements')
File "/usr/local/lib/python3.10/dist-packages/pkg_resources/_vendor/packaging/requirements.py", line 9, in <module>
from pkg_resources.extern.pyparsing import stringStart, stringEnd, originalTextFor, ParseException
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 672, in _load_unlocked
File "<frozen importlib._bootstrap>", line 632, in _load_backward_compatible
File "/usr/local/lib/python3.10/dist-packages/pkg_resources/extern/__init__.py", line 42, in load_module
__import__(extant)
File "/usr/local/lib/python3.10/dist-packages/pkg_resources/_vendor/pyparsing.py", line 696, in <module>
collections.MutableMapping.register(ParseResults)
AttributeError: module 'collections' has no attribute 'MutableMapping'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '19.0.2'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '19.0.2'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '19.0.2'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
cp: cannot stat 'build/libs/takml-mx-*-all.jar': No such file or directory
Any idea how I can resolve these errors?
Is there a more recent version than this legacy version ?
Thanks.
Additional question:
The TAK-ML MX Server installation doc (https://github.com/raytheonbbn/tak-ml/blob/main/takml_1.0%20(legacy)/takml-mx-server/README.md#tak-ml-mx-server) is mentioning takml-roger/mxf or takml-roger/sf directory. Where do you find these?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.