Skip to content
Snippets Groups Projects
Commit d4701d17 authored by Raymond Chia's avatar Raymond Chia
Browse files

minor change

parent 22a6af40
Branches
No related merge requests found
This diff is collapsed.
This diff is collapsed.
...@@ -1440,6 +1440,7 @@ def arg_parser(): ...@@ -1440,6 +1440,7 @@ def arg_parser():
) )
parser.add_argument('-l', '--lbl_str', type=str, parser.add_argument('-l', '--lbl_str', type=str,
default='pss', default='pss',
choices=['pss', 'br']
) )
parser.add_argument('-tl', '--train_len', type=int, parser.add_argument('-tl', '--train_len', type=int,
default=5, default=5,
...@@ -1518,8 +1519,7 @@ if __name__ == '__main__': ...@@ -1518,8 +1519,7 @@ if __name__ == '__main__':
for subject in subjects: for subject in subjects:
rr_func(subject) rr_func(subject)
elif subject > 0 and method == 'dsp':
if subject > 0 and method == 'dsp':
subject = subject_pre_string+str(subject).zfill(2) subject = subject_pre_string+str(subject).zfill(2)
imu_rr_dsp(subject, imu_rr_dsp(subject,
window_size=window_size, window_size=window_size,
...@@ -1528,7 +1528,6 @@ if __name__ == '__main__': ...@@ -1528,7 +1528,6 @@ if __name__ == '__main__':
overwrite=overwrite, overwrite=overwrite,
train_len=train_len, train_len=train_len,
test_standing=test_standing) test_standing=test_standing)
elif subject <= 0 and method == 'ml': elif subject <= 0 and method == 'ml':
subjects = [subject_pre_string+str(i).zfill(2) for i in \ subjects = [subject_pre_string+str(i).zfill(2) for i in \
range(2, n_subject_max+1)] range(2, n_subject_max+1)]
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment