Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
DAN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Automatic Text Recognition
DAN
Merge requests
!146
Something went wrong on our end
Implement temperature scaling on dan
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Implement temperature scaling on dan
dan-temperature-scaling
into
main
Overview
17
Commits
1
Pipelines
0
Changes
3
Merged
Thibault Lavigne
requested to merge
dan-temperature-scaling
into
main
1 year ago
Overview
12
Commits
1
Pipelines
0
Changes
3
Expand
Closes
#81 (closed)
Edited
1 year ago
by
Yoann Schneider
0
0
Merge request reports
Viewing commit
d4e390ee
Show latest version
3 files
+
63
−
7
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
Verified
d4e390ee
implem temperature scaling
· d4e390ee
Yoann Schneider
authored
1 year ago
dan/predict/__init__.py
+
14
−
0
Options
@@ -55,6 +55,20 @@ def add_predict_parser(subcommands) -> None:
required
=
False
,
help
=
"
Image scaling factor before feeding it to DAN
"
,
)
parser
.
add_argument
(
"
--image-max-width
"
,
type
=
int
,
default
=
1800
,
required
=
False
,
help
=
"
Image resizing before feeding it to DAN
"
,
)
parser
.
add_argument
(
"
--temperature
"
,
type
=
float
,
default
=
1.0
,
help
=
"
Temperature scaling scalar parameter
"
,
required
=
True
,
)
parser
.
add_argument
(
"
--confidence-score
"
,
action
=
"
store_true
"
,
Loading