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
detr_pytorch
Commits
2e64a0f4
Commit
2e64a0f4
authored
May 17, 2024
by
Rayyyyy
Browse files
coco128 val datasets
parent
1c8fb024
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test.py
test.py
+1
-1
No files found.
test.py
View file @
2e64a0f4
...
...
@@ -44,7 +44,7 @@ def test_img(args, model, postprocessors, save_path):
min_score
=
0.65
img_name
=
dataset_test
.
coco
.
loadImgs
(
targets
[
0
][
'image_id'
].
item
())[
0
][
'file_name'
]
img
=
cv2
.
imread
(
os
.
path
.
join
(
args
.
coco_path
,
'
images/
val2017'
,
img_name
))
img
=
cv2
.
imread
(
os
.
path
.
join
(
args
.
coco_path
,
'val2017'
,
img_name
))
draw_img
=
img
.
copy
()
save_status
=
False
...
...
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