diff --git a/examples/cinc17/build_datasets.py b/examples/cinc17/build_datasets.py index f889c6c7..0a0272c0 100644 --- a/examples/cinc17/build_datasets.py +++ b/examples/cinc17/build_datasets.py @@ -20,7 +20,7 @@ def load_all(data_path): ecg_file = os.path.join(data_path, record + ".mat") ecg_file = os.path.abspath(ecg_file) ecg = load_ecg_mat(ecg_file) - num_labels = ecg.shape[0] / STEP + num_labels = ecg.shape[0] // STEP dataset.append((ecg_file, [label]*num_labels)) return dataset diff --git a/examples/cinc17/setup.sh b/examples/cinc17/setup.sh index 7d2fd311..b678f0a5 100755 --- a/examples/cinc17/setup.sh +++ b/examples/cinc17/setup.sh @@ -1,6 +1,6 @@ #!/bin/bash -url=https://www.physionet.org/challenge/2017/ +url=https://archive.physionet.org/challenge/2017/ mkdir data && cd data