Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
deepdraw
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
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
medai
software
deepdraw
Merge requests
!13
Cleanup model implementation
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Cleanup model implementation
model-cleanup
into
master
Overview
0
Commits
4
Pipelines
4
Changes
45
Merged
André Anjos
requested to merge
model-cleanup
into
master
5 years ago
Overview
0
Commits
4
Pipelines
4
Changes
45
Cleans up model implementation to:
Re-use all backbones from torchvision
Simplify checkpointer
Remove own implementation of model_zoo
Implement normalization for torchvision-based backbones
Enable pytorch installation on osx
0
0
Merge request reports
Compare
master
version 3
3603b3fd
5 years ago
version 2
03838cae
5 years ago
version 1
805e43a1
5 years ago
master (base)
and
latest version
latest version
1e54e176
4 commits,
5 years ago
version 3
3603b3fd
3 commits,
5 years ago
version 2
03838cae
2 commits,
5 years ago
version 1
805e43a1
1 commit,
5 years ago
45 files
+
880
−
1233
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
45
bob/ip/binseg/configs/models/driu.py
+
3
−
6
View file @ 1e54e176
Edit in single-file editor
Open in Web IDE
Show full file
@@ -11,9 +11,8 @@ Reference: [MANINIS-2016]_
"""
from
torch.optim.lr_scheduler
import
MultiStepLR
from
bob.ip.binseg.modeling.driu
import
build_driu
from
bob.ip.binseg.utils.model_zoo
import
modelurls
from
bob.ip.binseg.modeling.losses
import
SoftJaccardBCELogitsLoss
from
bob.ip.binseg.models.driu
import
driu
from
bob.ip.binseg.models.losses
import
SoftJaccardBCELogitsLoss
from
bob.ip.binseg.engine.adabound
import
AdaBound
##### Config #####
@@ -29,9 +28,7 @@ amsbound = False
scheduler_milestones
=
[
900
]
scheduler_gamma
=
0.1
model
=
build_driu
()
pretrained_backbone
=
modelurls
[
"
vgg16
"
]
model
=
driu
()
optimizer
=
AdaBound
(
model
.
parameters
(),
Loading