Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
donut_pytorch
Commits
5762c6d3
Commit
5762c6d3
authored
Nov 20, 2022
by
moonbings
Browse files
Fix minor
parent
790eac16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
synthdog/template.py
synthdog/template.py
+2
-2
No files found.
synthdog/template.py
View file @
5762c6d3
...
...
@@ -88,8 +88,8 @@ class SynthDoG(templates.Template):
roi
=
data
[
"roi"
]
# split
split
=
self
.
split_indexes
[
idx
%
len
(
self
.
split_indexes
)]
output_dirpath
=
os
.
path
.
join
(
root
,
self
.
splits
[
split
])
split
_idx
=
self
.
split_indexes
[
idx
%
len
(
self
.
split_indexes
)]
output_dirpath
=
os
.
path
.
join
(
root
,
self
.
splits
[
split
_idx
])
# save image
image_filename
=
f
"image_
{
idx
}
.jpg"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment