Skip to content

Critical: Fixed typo in val if not called from training#412

Open
albertopasqualetto wants to merge 3 commits intoWongKinYiu:mainfrom
albertopasqualetto:val-opt-typo
Open

Critical: Fixed typo in val if not called from training#412
albertopasqualetto wants to merge 3 commits intoWongKinYiu:mainfrom
albertopasqualetto:val-opt-typo

Conversation

@albertopasqualetto
Copy link
Copy Markdown

Fixed error: NameError: name 'opt' is not defined

@albertopasqualetto albertopasqualetto changed the title Fixed typo in val if not called from training Critical: Fixed typo in val if not called from training May 8, 2024
guyleaf added a commit to guyleaf/yolov9 that referenced this pull request Oct 5, 2025
The typo of `min_items` will cause `NameError: name 'opt' is not defined` if we run val scripts directly.

Change `min_items=opt.min_items` to `min_items=min_items`

Related PR: WongKinYiu#412
guyleaf added a commit to guyleaf/yolov9 that referenced this pull request Oct 5, 2025
…#10)

The typo of `min_items` will cause `NameError: name 'opt' is not defined` if we run val scripts directly.

Change `min_items=opt.min_items` to `min_items=min_items`

Related PR: WongKinYiu#412
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.

1 participant