Skip to content

Update val.py : fix: replace otp.min_items with min_items#653

Open
hakankocakk wants to merge 1 commit intoWongKinYiu:mainfrom
hakankocakk:patch-1
Open

Update val.py : fix: replace otp.min_items with min_items#653
hakankocakk wants to merge 1 commit intoWongKinYiu:mainfrom
hakankocakk:patch-1

Conversation

@hakankocakk
Copy link
Copy Markdown

This PR fixes a typo in the create_dataloader call inside val.py.
Previously, the argument was passed as otp.min_items, which caused an error since otp is not defined.
It has been corrected to use the proper variable min_items.

Changes:

Replaced otp.min_items with min_items in val.py (line 163).

Why:
Without this fix, running validation fails due to an undefined reference. This update ensures the dataloader receives the correct argument.

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