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
Commits
0bec214f
Commit
0bec214f
authored
1 year ago
by
Mélodie Boillet
Browse files
Options
Downloads
Patches
Plain Diff
Rename img_format to image_format
parent
3eda9edb
No related branches found
No related tags found
1 merge request
!255
Rename img_format to image_format
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dan/datasets/extract/extract.py
+2
-2
2 additions, 2 deletions
dan/datasets/extract/extract.py
with
2 additions
and
2 deletions
dan/datasets/extract/extract.py
+
2
−
2
View file @
0bec214f
...
...
@@ -330,9 +330,9 @@ def run(
entity_worker_version
:
Optional
[
Union
[
str
,
bool
]],
max_width
:
Optional
[
int
],
max_height
:
Optional
[
int
],
image_format
:
str
,
cache_dir
:
Path
,
keep_spaces
:
bool
,
img_format
:
str
,
):
assert
database
.
exists
(),
f
"
No file found @
{
database
}
"
open_database
(
path
=
database
)
...
...
@@ -360,5 +360,5 @@ def run(
max_height
=
max_height
,
cache_dir
=
cache_dir
,
keep_spaces
=
keep_spaces
,
image_extension
=
im
g
_format
,
image_extension
=
im
age
_format
,
).
run
()
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