Skip to content

Labels name error #12

@digitaShadow

Description

@digitaShadow

While running the run_train_svm.py file there is an error that occurs due to a file named load_MITBIH.py there the error which occurs is that the label given as 'w' is not found as the training set is DS_1.csv and there is no such label as w in that file.

Looking for response.

Error:
writing pickle: C:/Users/qasim/Desktop/jibran/ecg-classification-master/python/mit_db/features/w_90_90_DS1_rm_bsline_maxRR_u-lbp_MLII.p...
Traceback (most recent call last):
File "C:/Users/qasim/Desktop/jibran/ecg-classification-master/python/run_train_SVM.py", line 54, in
main(multi_mode, 90, 90, do_preprocess, use_weight_class, maxRR, use_RR, norm_RR, compute_morph, oversamp_method, pca_k, feature_selection, do_cross_val, C_value, gamma_value, reduced_DS, leads_flag)
File "C:\Users\qasim\Desktop\jibran\ecg-classification-master\python\train_SVM.py", line 165, in main
maxRR, use_RR, norm_RR, compute_morph, db_path, reduced_DS, leads_flag)
File "C:\Users\qasim\Desktop\jibran\ecg-classification-master\python\load_MITBIH.py", line 434, in load_mit_db
f = open(features_labels_name, 'w')
IOError: [Errno 2] No such file or directory: 'C:/Users/qasim/Desktop/jibran/ecg-classification-master/python/mit_db/features/w_90_90_DS1_rm_bsline_maxRR_u-lbp_MLII.p'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions