Skip to content
Snippets Groups Projects
Commit 031c3f3c authored by zhuoyiyang's avatar zhuoyiyang
Browse files

solve conflit

parent a0a295d2
No related branches found
No related tags found
No related merge requests found
......@@ -298,7 +298,7 @@ class BlockedRandomSplitDataset(data.Dataset):
def __init__(self, ds, indices, block_size,**kwargs):
if type(indices) is not np.ndarray:
indices = np.array(indices)
indices = np.sort(indices)
indices = np.sort(indices)
self.block_size = block_size
self.wrapped_data = ds
self.wrapped_data_len = len(ds)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment