Skip to content
Snippets Groups Projects
Commit 0754b543 authored by François  LAURENT's avatar François LAURENT
Browse files

local tests for train

parent 7b26a028
No related branches found
No related tags found
No related merge requests found
......@@ -3,4 +3,10 @@
# this simple series of commands forces Poetry to update its local dependencies;
# useful with a local TaggingBackends for example (pyproject.toml must be updated first).
rm -rf $(poetry env info -p); rm -f poetry.lock; poetry install -vvv
rm -rf $(poetry env info -p)
poetry env use python3.8
rm -f poetry.lock
poetry install -vvv
# if pyproject.toml was not updated in the first place:
#poetry install ../TaggingBackends -vvv
#!/bin/bash
[ -f ./pyproject.toml ] || cd ..
[ -f ./pyproject.toml ] || exit "failed to locate MaggotUBA-adapter project"
backend=$(pwd)
mkdir -p data/raw/subset3
pushd data/raw/subset3
if ! [ -d t15 ]; then
[ -d ~/Zeus/hecatonchire/screens ] || exit "cannot find screens/t15"
rm -rf *
ls ~/Zeus/hecatonchire/screens/t15/FCF_attP2_1500062@UAS_Chrimson_Venus_X_0070/r_LED100_30s2x15s30s\#n\#n\#n@100/2014*/trx.mat | cut -d/ -f7-10 | xargs -I % bash -c 'mkdir -p %; cp ~/Zeus/hecatonchire/screens/%/trx.mat %/'
chmod a-x */*/*/*/trx.mat
fi
popd
poetry run tagging-backend train --model-instance subset3 --labels run,cast,back,roll,hunch,stop_large
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment