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
Merge requests
!40
Lightning acc
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Lightning acc
lightning-acc
into
main
Overview
4
Commits
5
Pipelines
3
Changes
8
1 unresolved thread
Hide all comments
Merged
Gokhan OZBULAK
requested to merge
lightning-acc
into
main
9 months ago
Overview
4
Commits
5
Pipelines
3
Changes
1
1 unresolved thread
Hide all comments
Expand
Closes
#25 (closed)
Edited
9 months ago
by
Daniel CARRON
0
0
Merge request reports
Compare
version 2
version 2
2e79aae0
9 months ago
version 1
cf742317
9 months ago
main (base)
and
latest version
latest version
96b8c28e
5 commits,
9 months ago
version 2
2e79aae0
4 commits,
9 months ago
version 1
cf742317
3 commits,
9 months ago
Show latest version
1 file
+
5
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/mednet/scripts/train.py
+
5
−
6
Options
@@ -86,12 +86,11 @@ def reusable_options(f):
"
parameter, used in conjunction with the batch-size, may be used to
"
"
reduce the number of samples loaded in each iteration, to affect memory
"
"
usage in exchange for processing time (more iterations). This is
"
"
especially interesting when one is training on GPUs with a limited amount
"
"
of onboard RAM. 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 accumulate-grad-batches pieces, and gradients are accumulated
"
"
to complete each step.
"
,
"
useful interesting when one is training on GPUs with a limited amount
"
"
of onboard RAM. The default of 1 forces the whole batch to be
"
"
processed at once. Otherwise the batch is multiplied by
"
"
accumulate-grad-batches pieces, and gradients are accumulated
"
"
to complete each training step.
"
,
required
=
True
,
show_default
=
True
,
default
=
1
,
Loading