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 2691a59 commit f0ca211
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mNSF/training_multiSample.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,8 +440,8 @@ def _train_model_fixed_lr(self, list_tro,list_Dtrain, list_D__, ckpt_mgr,Dval=No
nsample = len(list_nchunk)
for ksample in range(0,nsample):
vec_batch.append([False]*1 + [True]*(list_nchunk[ksample]-1))
print("vec_batch")
print(vec_batch)
print("vec_batch")
print(vec_batch)
for ksample in range(0,nsample_chunked):
list_tro[ksample].model.Z=list_D__[ksample]["Z"]
Dtrain_ksample = list_Dtrain[ksample]
Expand Down

0 comments on commit f0ca211

Please sign in to comment.