
resources.wrappers.FileJsonPyTorch.apply.cmd Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of learningframework Show documentation
Show all versions of learningframework Show documentation
A GATE plugin that provides many different machine learning
algorithms for a wide range of NLP-related machine learning tasks like
text classification, tagging, or chunking.
@ECHO OFF
if "x%WRAPPER_HOME%"=="x" (
set WRAPPER_HOME=%~dp0
)
SET model=%1
shift
SET meta=%1
shift
shift
: create var with remaining arguments
set r=%1
:loop
shift
if "x%1"=="x" goto done
set r=%r% %1
goto loop
:done
if "x%PYTHON_BIN%"=="x" (
set PYTHON_BIN="%HOMEDRIVE%""%HOMEPATH%"\Miniconda3\python.exe
)
%PYTHON_BIN% %WRAPPER_HOME%\gate-lf-pytorch-json\apply.py %model% --cuda False --metafile %meta% %r%
© 2015 - 2025 Weber Informatics LLC | Privacy Policy