pre-commit run --all-files
This commit is contained in:
parent
2a046dd73b
commit
52529805e8
|
@ -114,7 +114,7 @@ def load_from_raw(raw_dir: Path, out_dir: Path, fps: int):
|
|||
# sanity check
|
||||
has_nan = df.isna().any().any()
|
||||
if has_nan:
|
||||
raise ValueError("Dataset contains Nan values.")
|
||||
raise ValueError("Dataset contains Nan values.")
|
||||
|
||||
# sanity check episode indices go from 0 to n-1
|
||||
ep_ids = [ep_idx for ep_idx, _ in df.groupby("episode_index")]
|
||||
|
|
Loading…
Reference in New Issue