Add files via upload

This commit is contained in:
David Rotermund 2024-08-10 20:55:37 +02:00 committed by GitHub
parent 25efb8b341
commit a94fdc3aeb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,5 +14,6 @@ def get_trials(path: str, experiment_id: int) -> torch.Tensor:
list_int: list[int] = []
for i in range(0, len(list_str)):
list_int.append(int(list_str[i].split("_Trial")[-1].split("_Part")[0]))
list_int = sorted(list_int)
return torch.tensor(list_int).unique()