Skip to content

Commit a05641e

Browse files
committed
stop saving object
1 parent b6b668b commit a05641e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chebai/models/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def _execute(
272272
loss_kwargs['weights'] = f.create_data_weights(batchsize=len(data['idents']),dim=data['labels'].size(dim=1),weights=data["loss_kwargs"],idents=data["idents"])
273273
if self.pass_loss_kwargs:
274274
loss_kwargs = loss_kwargs_candidates
275-
torch.save(loss_data,"loss_data.pt")
275+
#torch.save(loss_data,"loss_data.pt")
276276
loss_kwargs["current_epoch"] = self.trainer.current_epoch
277277
loss = self.criterion(loss_data, loss_labels, **loss_kwargs)
278278
if isinstance(loss, tuple):

0 commit comments

Comments
 (0)