Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in transfer learning command 📈 Enable Model EMA #130

Open
dsbyprateekg opened this issue Nov 25, 2024 · 2 comments
Open

Issue in transfer learning command 📈 Enable Model EMA #130

dsbyprateekg opened this issue Nov 25, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@dsbyprateekg
Copy link

Hi,

I am trying the transfer learning command for my custom dataset training using my dataset config file (lego.yaml) in the location yolo/config/dataset/ -

!python yolo/lazy.py task=train task.data.batch_size=8 model=v9-c dataset=lego device=cuda

But the above command generate following one-liner in the output log file- :chart_with_upwards_trend: Enable Model EMA

Can you please help me to resolve this issue?

@dsbyprateekg dsbyprateekg added the bug Something isn't working label Nov 25, 2024
@henrytsui000
Copy link
Collaborator

Hi,

That is expected behavior. EMA (Exponential Moving Average) is a strategy designed to help validate model performance from earlier epochs and provides a more balanced representation of the model's parameters. This strategy typically has a positive effect on training and evaluation and won't effect origin weight.

If you prefer not to use EMA, you can disable it with the following command:

[other command] task.ema.enable=False

Best regards,
Henry Tsui

@dsbyprateekg
Copy link
Author

Hi,

That is expected behavior. EMA (Exponential Moving Average) is a strategy designed to help validate model performance from earlier epochs and provides a more balanced representation of the model's parameters. This strategy typically has a positive effect on training and evaluation and won't effect origin weight.

If you prefer not to use EMA, you can disable it with the following command:

[other command] task.ema.enable=False

Best regards, Henry Tsui

my issue was, that training is not started.
And it is showing only this line in the console- 📈 Enable Model EMA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants