Skip to content

Commit

Permalink
Update training_multiSample.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yiwang12 authored Nov 14, 2024
1 parent 64b78f4 commit d94bcde
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mNSF/training_multiSample.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,8 @@ def _train_model_fixed_lr(self, list_tro,list_Dtrain, list_D__, ckpt_mgr,Dval=No
#chol=(self.epoch % kernel_hp_update_freq==0)
trl=0.0
nsample_chunked=len(list_Dtrain)
print("list_nchunk")
print(list_nchunk)
if list_nchunk is None:
for ksample in range(0,nsample_chunked):
list_tro[ksample].model.Z=list_D__[ksample]["Z"]
Expand Down

0 comments on commit d94bcde

Please sign in to comment.