Add files via upload
This commit is contained in:
parent
25efb8b341
commit
a94fdc3aeb
1 changed files with 1 additions and 0 deletions
|
@ -14,5 +14,6 @@ def get_trials(path: str, experiment_id: int) -> torch.Tensor:
|
||||||
list_int: list[int] = []
|
list_int: list[int] = []
|
||||||
for i in range(0, len(list_str)):
|
for i in range(0, len(list_str)):
|
||||||
list_int.append(int(list_str[i].split("_Trial")[-1].split("_Part")[0]))
|
list_int.append(int(list_str[i].split("_Trial")[-1].split("_Part")[0]))
|
||||||
|
|
||||||
list_int = sorted(list_int)
|
list_int = sorted(list_int)
|
||||||
return torch.tensor(list_int).unique()
|
return torch.tensor(list_int).unique()
|
||||||
|
|
Loading…
Reference in a new issue