python : added comment for potential indices in unit test
This commit is contained in:
parent
434ce20374
commit
f7ac38b93a
@ -60,11 +60,13 @@ def unit_test(TS: List[int], labels: List[str] = ['CPU', 'GPU', 'PY', 'PGPU'], t
|
||||
title = f'X_{set_name}_feat_argsort'
|
||||
print(f'Loading {title}...', file = stderr, end = '\r')
|
||||
feat = None
|
||||
#indices = pickle_multi_loader(['indices'], OUT_DIR)[0]
|
||||
bs = []
|
||||
for label in labels:
|
||||
if feat is None:
|
||||
feat_tmp = pickle_multi_loader([f'X_{set_name}_feat_{label}'], OUT_DIR)[0]
|
||||
if feat_tmp is not None:
|
||||
#feat = feat_tmp[indices]
|
||||
feat = feat_tmp
|
||||
bs.append(pickle_multi_loader([f'{title}_{label}'], OUT_DIR)[0])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user