Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LarvaTagger.jl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nyx
LarvaTagger.jl
Commits
6fcb8f16
Commit
6fcb8f16
authored
2 years ago
by
François LAURENT
Browse files
Options
Downloads
Patches
Plain Diff
--no-cache option for build command
parent
535ff423
No related branches found
Branches containing commit
Tags
0.3.2
Tags containing commit
No related merge requests found
Pipeline
#100088
passed
2 years ago
Stage: test
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Manifest.toml
+1
-1
1 addition, 1 deletion
Manifest.toml
scripts/larvatagger.sh
+4
-2
4 additions, 2 deletions
scripts/larvatagger.sh
with
5 additions
and
3 deletions
Manifest.toml
+
1
−
1
View file @
6fcb8f16
...
@@ -892,7 +892,7 @@ version = "0.3.2"
...
@@ -892,7 +892,7 @@ version = "0.3.2"
[[deps.PlanarLarvae]]
[[deps.PlanarLarvae]]
deps
=
[
"DelimitedFiles"
,
"HDF5"
,
"JSON3"
,
"LinearAlgebra"
,
"MAT"
,
"Meshes"
,
"OrderedCollections"
,
"SHA"
,
"StaticArrays"
,
"Statistics"
,
"StatsBase"
,
"StructTypes"
]
deps
=
[
"DelimitedFiles"
,
"HDF5"
,
"JSON3"
,
"LinearAlgebra"
,
"MAT"
,
"Meshes"
,
"OrderedCollections"
,
"SHA"
,
"StaticArrays"
,
"Statistics"
,
"StatsBase"
,
"StructTypes"
]
git-tree-sha1
=
"5b7020f80af940ba6ce9140aeece184456bca447"
git-tree-sha1
=
"5b7020f80af940ba6ce9140aeece184456bca447"
repo-rev
=
"
dev
"
repo-rev
=
"
main
"
repo-url
=
"https://gitlab.pasteur.fr/nyx/planarlarvae.jl"
repo-url
=
"https://gitlab.pasteur.fr/nyx/planarlarvae.jl"
uuid
=
"c2615984-ef14-4d40-b148-916c85b43307"
uuid
=
"c2615984-ef14-4d40-b148-916c85b43307"
version
=
"0.9.2"
version
=
"0.9.2"
...
...
This diff is collapsed.
Click to expand it.
scripts/larvatagger.sh
+
4
−
2
View file @
6fcb8f16
...
@@ -28,7 +28,7 @@ while ! [ -z "$1" ]; do
...
@@ -28,7 +28,7 @@ while ! [ -z "$1" ]; do
if
[
"
$1
"
=
"--dev"
-o
"
$1
"
=
"--stable"
]
;
then
if
[
"
$1
"
=
"--dev"
-o
"
$1
"
=
"--stable"
]
;
then
BUILD
=
$1
;
shift
BUILD
=
$1
;
shift
elif
[
"
$1
"
=
"--get-backend"
-o
"
$1
"
=
"--with-default-backend"
]
;
then
elif
[
"
$1
"
=
"--get-backend"
-o
"
$1
"
=
"--with-default-backend"
]
;
then
DOCKER_ARGS
=
"--build-arg BACKEND=MaggotUBA/20230
129
$DOCKER_ARGS
"
;
shift
DOCKER_ARGS
=
"--build-arg BACKEND=MaggotUBA/20230
311
$DOCKER_ARGS
"
;
shift
TARGET
=
backend
TARGET
=
backend
elif
[
"
$1
"
=
"--with-backend"
]
;
then
elif
[
"
$1
"
=
"--with-backend"
]
;
then
DOCKER_ARGS
=
"--build-arg BACKEND=
$2
$DOCKER_ARGS
"
;
shift
2
DOCKER_ARGS
=
"--build-arg BACKEND=
$2
$DOCKER_ARGS
"
;
shift
2
...
@@ -36,6 +36,8 @@ TARGET=backend
...
@@ -36,6 +36,8 @@ TARGET=backend
elif
[
"
${
1
:0:15
}
"
=
"--with-backend="
]
;
then
elif
[
"
${
1
:0:15
}
"
=
"--with-backend="
]
;
then
DOCKER_ARGS
=
"--build-arg BACKEND=
${
1
:15
}
$DOCKER_ARGS
"
;
shift
DOCKER_ARGS
=
"--build-arg BACKEND=
${
1
:15
}
$DOCKER_ARGS
"
;
shift
TARGET
=
backend
TARGET
=
backend
elif
[
"
$1
"
=
"--no-cache"
]
;
then
DOCKER_ARGS
=
"--no-cache
$DOCKER_ARGS
"
;
shift
else
else
echo
"argument not supported:
$1
"
;
shift
echo
"argument not supported:
$1
"
;
shift
exit
1
exit
1
...
@@ -138,7 +140,7 @@ docker run $RUN_ARGS "$LARVATAGGER_IMAGE" train "/app/$backend" "/data/$data_rep
...
@@ -138,7 +140,7 @@ docker run $RUN_ARGS "$LARVATAGGER_IMAGE" train "/app/$backend" "/data/$data_rep
data_file
=
$1
;
shift
data_file
=
$1
;
shift
backend
=
MaggotUBA
backend
=
MaggotUBA
tagger
=
"20230
129
"
tagger
=
"20230
311
"
while
[
-n
"
$1
"
]
;
do
while
[
-n
"
$1
"
]
;
do
if
[
"
${
1
:0:16
}
"
=
"--model-instance"
]
;
then
if
[
"
${
1
:0:16
}
"
=
"--model-instance"
]
;
then
if
[
"
$1
"
=
"--model-instance"
]
;
then
if
[
"
$1
"
=
"--model-instance"
]
;
then
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment