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
Compare revisions
8649f5331403d06a6d296f864fd071e3ee591099 to f978360091fed7035ee161cdd11049b601f91189
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
atr/dan
Select target project
No results found
f978360091fed7035ee161cdd11049b601f91189
Select Git revision
Swap
Target
atr/dan
Select target project
atr/dan
1 result
8649f5331403d06a6d296f864fd071e3ee591099
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
Remove token_line and token_pg from GlobalHTADecoder
· 75a2c667
Mélodie Boillet
authored
1 year ago
and
Yoann Schneider
committed
1 year ago
75a2c667
Remove training info from DatasetManager
· f9783600
Mélodie Boillet
authored
1 year ago
and
Yoann Schneider
committed
1 year ago
f9783600
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dan/decoder.py
+0
-2
0 additions, 2 deletions
dan/decoder.py
dan/manager/dataset.py
+0
-1
0 additions, 1 deletion
dan/manager/dataset.py
with
0 additions
and
3 deletions
dan/decoder.py
View file @
f9783600
...
@@ -381,8 +381,6 @@ class GlobalHTADecoder(Module):
...
@@ -381,8 +381,6 @@ class GlobalHTADecoder(Module):
cache
=
None
,
cache
=
None
,
num_pred
=
None
,
num_pred
=
None
,
keep_all_weights
=
False
,
keep_all_weights
=
False
,
token_line
=
None
,
token_pg
=
None
,
):
):
device
=
raw_features_1d
.
device
device
=
raw_features_1d
.
device
...
...
This diff is collapsed.
Click to expand it.
dan/manager/dataset.py
View file @
f9783600
...
@@ -232,7 +232,6 @@ class GenericDataset(Dataset):
...
@@ -232,7 +232,6 @@ class GenericDataset(Dataset):
self
.
params
[
"
config
"
][
"
padding_value
"
]
=
self
.
padding_value
self
.
params
[
"
config
"
][
"
padding_value
"
]
=
self
.
padding_value
self
.
curriculum_config
=
None
self
.
curriculum_config
=
None
self
.
training_info
=
None
def
__len__
(
self
):
def
__len__
(
self
):
return
len
(
self
.
samples
)
return
len
(
self
.
samples
)
...
...
This diff is collapsed.
Click to expand it.