Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mednet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
medai
software
mednet
Commits
dbee52bf
Commit
dbee52bf
authored
9 months ago
by
Gokhan OZBULAK
Browse files
Options
Downloads
Patches
Plain Diff
Fixed help text for new usage.
#25
parent
9c5d7379
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!40
Lightning acc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/mednet/scripts/train.py
+8
-9
8 additions, 9 deletions
src/mednet/scripts/train.py
with
8 additions
and
9 deletions
src/mednet/scripts/train.py
+
8
−
9
View file @
dbee52bf
...
...
@@ -83,15 +83,14 @@ def reusable_options(f):
"
-c
"
,
help
=
"
Number of chunks in every batch (this parameter affects
"
"
memory requirements for the network). The number of samples
"
"
loaded for every iteration will be batch-size/batch-chunk-count.
"
"
batch-size needs to be divisible by batch-chunk-count, otherwise an
"
"
error will be raised. This parameter is used to reduce the number of
"
"
samples loaded in each iteration, in order to reduce the memory usage
"
"
in exchange for processing time (more iterations). This is especially
"
"
interesting when one is training on GPUs with limited RAM. The
"
"
default of 1 forces the whole batch to be processed at once. Otherwise
"
"
the batch is broken into batch-chunk-count pieces, and gradients are
"
"
accumulated to complete each batch.
"
,
"
loaded for every iteration will be batch-size*batch-chunk-count.
"
"
This parameter is used to reduce the number of samples loaded in each
"
"
iteration, in order to reduce the memory usage in exchange for
"
"
processing time (more iterations). This is especially interesting
"
"
when one is training on GPUs with limited RAM. The default of 1 forces
"
"
the whole batch to be processed at once. Otherwise the batch is
"
"
multiplied by batch-chunk-count pieces, and gradients are accumulated
"
"
to complete each batch.
"
,
required
=
True
,
show_default
=
True
,
default
=
1
,
...
...
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