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
The call to train_loss.losses triggers model.get_output, using trainset.symb_inputs
The model updates dictionary contains elements specific to trainset.symb_inputs
The call to valid_loss.losses triggers again model.get_output, this time using validset.symb_inputs
The model will update the updates dictionary, which now contains elements specific to both trainset.symb_inputs and validset.symb_inputs
The easy fix would be to force models to replace the updates dictionary. However, it would be preferable to find a better way of managing the updates and losses
The text was updated successfully, but these errors were encountered:
In class
Loss
:Bug example:
# Get train losses
train_loss = DummyLoss(model, trainset)
train_losses = train_loss.losses
# Get valid losses
valid_loss = DummyLoss(model, validset)
valid_losses = valid_loss.losses
The call to
train_loss.losses
triggersmodel.get_output
, usingtrainset.symb_inputs
The model
updates
dictionary contains elements specific totrainset.symb_inputs
The call to
valid_loss.losses
triggers againmodel.get_output
, this time usingvalidset.symb_inputs
The model will update the
updates
dictionary, which now contains elements specific to bothtrainset.symb_inputs
andvalidset.symb_inputs
The easy fix would be to force models to replace the
updates
dictionary. However, it would be preferable to find a better way of managing theupdates
andlosses
The text was updated successfully, but these errors were encountered: