Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MRCNN Particle Detection
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AVT-FVT
public
MRCNN Particle Detection
Commits
76508678
Commit
76508678
authored
1 year ago
by
ssibirtsev
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
7bf3310f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
manual/cluster_job_GPU_and_sweep_training_template.job
+62
-0
62 additions, 0 deletions
manual/cluster_job_GPU_and_sweep_training_template.job
with
62 additions
and
0 deletions
manual/cluster_job_GPU_and_sweep_training_template.job
0 → 100644
+
62
−
0
View file @
76508678
#
!/
usr
/
bin
/
zsh
##############################################
#####
Batch
script
for
the
MRCNN
training
####
##############################################
####
CREATE
SBATCH
ENTRIES
####
####
Paths
and
parameters
must
be
adapted
accordingly
.
####
job
name
#
SBATCH
--
job
-
name
=<
JobName
>
####
Path
and
name
of
the
output
file
of
the
job
execution
#
SBATCH
--
output
=/
home
/<
UserID
>/.../<
JobOutputFolderName
>/
%x_%
J_output
.
txt
####
Job
runtime
determined
by
testing
jobs
on
the
GPU
node
(
see
manual
).
####
Multiply
the
computing
time
per
epoch
resulting
from
the
test
by
the
number
of
epochs
to
be
trained
.
####
Add
a
safety
factor
,
e
.
g
.
multiply
with
1.2
#
SBATCH
--
time
=
0
-
00
:
00
:
00
####
Memory
requirement
per
GPU
determined
by
testing
jobs
on
the
GPU
node
(
see
manual
).
####
Add
a
safety
factor
,
e
.
g
.
multiply
with
1.2
.
####
For
example
:
resulting
value
is
5
GB
-->
--
mem
-
per
-
gpu
=
5
G
#
SBATCH
--
mem
-
per
-
gpu
=
5
G
####
E
-
mail
address
#
SBATCH
--
mail
-
user
=<
EmailAdress
>
####
E
-
mails
to
be
received
#
SBATCH
--
mail
-
type
=
ALL
####
Number
of
tasks
to
be
performed
#
SBATCH
--
ntasks
=
1
####
Number
of
GPUs
required
per
node
#
SBATCH
--
gres
=
gpu
:
1
####
Definition
of
the
job
array
starting
at
0.
###
####
This
parameter
is
only
required
if
you
want
to
perform
several
jobs
in
parallel
####
from
one
job
script
,
e
.
g
.
grid
search
via
Weights
and
Biases
sweep
.
####
In
this
example
we
perform
a
grid
search
with
6
jobs
-->
array
=
0
-
5
#
SBATCH
--
array
=
0
-
5
####
CREATE
TERMINAL
ENTRIES
####
####
Paths
and
parameters
must
be
adapted
accordingly
####
Loading
the
Cuda
module
module
load
cuda
/
10.0
####
Export
path
in
which
Anaconda
is
located
export
PATH
=
$
PATH
:/
home
/<
UserID
>/
anaconda3
/
bin
####
Activate
environment
source
activate
env_mrcnn_gpu
####
Navigate
to
the
path
where
the
droplet
.
py
script
is
located
cd
/
home
/<
UserID
>/.../
samples
/
droplet
/
####
Run
MRCNN
via
Weights
and
Biases
.
####
The
<
SweepCode
>
is
generated
after
a
sweep
is
created
at
the
Weights
and
Biases
homepage
.
####
All
training
parameters
are
specified
in
the
sweep
configuration
.
wandb
agent
--
count
1
avt
-
droplet
-
detection
/
paper
/<
SweepCode
>
\ No newline at end of file
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