You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
Description
class ExponentialMovingAverage
in train.py the ema use two position:
if global_step == 1:
for name, param in model.collect_params().items():
ema.add(name, param.data(CTX[0]))
for name, param in model.collect_params().items():
ema(name, param.data(CTX[0]))
but model‘s params not update ,final we save model params as:
save model after train one epoch
is the ema not work?
The text was updated successfully, but these errors were encountered: