WongKinYiu / YOLO

An MIT rewrite of YOLOv9

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error training command of README.md

chilin0525 opened this issue · comments

Hi,

I found the example command of README.md is not correct and got following error when execute to train model.Look like you change train confg (b5fa3f1) but forget to update example command of README.

Reproduce and error:

$ python lazy.py task=train task.batch_size=8 model=v9-c
Could not override 'task.batch_size'.
To append to your config use +task.batch_size=8
Key 'batch_size' is not in struct
    full_key: task.batch_size
    object_type=dict

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

And I will create a PR to fix it.

Hi,

The README in the next version has been updated, but because CI will be re-run every time I push the main branch, I will update it together later~

$python yolo/lazy.py task.data.batch_size=8

best regards,
Hao-Tang Tsui

Got it.

BTW, I think to create issue template just like PR template will help user to search and manage issue better. 😃

Hi,

I have added the templates for issues in commits bce644c and fab2590. Thank you for your suggestion!

Best regards,
Hao-Tang Tsui