Skip to content

DEBUG: list type can not match cv2.mat#423

Merged
RangiLyu merged 1 commit into
RangiLyu:mainfrom
Shawn-Tao:main
May 7, 2022
Merged

DEBUG: list type can not match cv2.mat#423
RangiLyu merged 1 commit into
RangiLyu:mainfrom
Shawn-Tao:main

Conversation

@Shawn-Tao
Copy link
Copy Markdown
Contributor

The code

meta = naive_collate([meta])

changes type of meta['raw_img'] to "list" which can lead to error while call the following code:

result = overlay_bbox_cv(meta['raw_img'], res[0], cfg.class_names, score_thresh=0.35)

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 19, 2022

Codecov Report

Merging #423 (f845192) into main (3cda376) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #423   +/-   ##
=======================================
  Coverage   74.25%   74.25%           
=======================================
  Files          66       66           
  Lines        4459     4459           
  Branches      756      756           
=======================================
  Hits         3311     3311           
  Misses        969      969           
  Partials      179      179           
Flag Coverage Δ
unittests 74.25% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@RangiLyu RangiLyu merged commit 0f4d8f1 into RangiLyu:main May 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants