Skip to content

Commit

Permalink
Update process_multiSample.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yiwang12 authored Nov 14, 2024
1 parent 95bed4c commit 655ae36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mNSF/process_multiSample.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,12 @@ def get_listDtrain(list_D_,nbatch=1,list_nchunk=None):
if (kchunk==nchunk-1):end_=nspot
X_chunk=X[st:end_,]
Y_chunk=Y[st:end_,]
D_chunk = get_D(X,Y)
D_chunk = get_D(X_chunk,X_chunk)
list_D_chunk.append(D_chunk)
print("len(list_D_chunk)")
print(len(list_D_chunk))
for ksample_splitted in range(0,nsample_splitted):
D_chunk=list_D_chunk[ksample]
D_chunk=list_D_chunk[ksample_splitted]
Ntr = D_chunk["Y"].shape[0] # Number of observations in this sample

# Convert dictionary to TensorFlow Dataset
Expand Down

0 comments on commit 655ae36

Please sign in to comment.