{"id":23170045,"url":"https://github.com/shehanmunasinghe/ecg12lead","last_synced_at":"2025-06-15T02:34:16.081Z","repository":{"id":85229342,"uuid":"319181248","full_name":"shehanmunasinghe/ecg12lead","owner":"shehanmunasinghe","description":"An extension of https://github.com/shehanmunasinghe/diagno","archived":false,"fork":false,"pushed_at":"2020-12-20T14:57:02.000Z","size":32,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T10:11:23.672Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shehanmunasinghe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-07T02:24:34.000Z","updated_at":"2022-12-06T03:26:47.000Z","dependencies_parsed_at":"2023-07-13T13:15:07.662Z","dependency_job_id":null,"html_url":"https://github.com/shehanmunasinghe/ecg12lead","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shehanmunasinghe%2Fecg12lead","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shehanmunasinghe%2Fecg12lead/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shehanmunasinghe%2Fecg12lead/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shehanmunasinghe%2Fecg12lead/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shehanmunasinghe","download_url":"https://codeload.github.com/shehanmunasinghe/ecg12lead/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247261603,"owners_count":20910108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-18T03:25:36.455Z","updated_at":"2025-04-04T23:14:46.549Z","avatar_url":"https://github.com/shehanmunasinghe.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ecg12lead\nExperiments on the **PhysioNet/CinC 2020 Challenge 12-lead ECG Classification  Dataset**.\n\n## How to run\n    git clone https://github.com/shehanmunasinghe/ecg12lead\n    cd ecg12lead\n\n    # install project \n    pip install -e .\n    pip install -r requirements.txt\n\n## Imports\nThis project is setup as a package which means any file can be imported into any other file like so:\n\n    from ecg12lead.datasets import PhysioNet2020Dataset\n\n\n## Downloading Data\n\n### Download Links\n   \n* [CPSC](https://storage.cloud.google.com/physionet-challenge-2020-12-lead-ecg-public/PhysioNetChallenge2020_Training_CPSC.tar.gz )\n\n* [CPSC-Extra](https://storage.cloud.google.com/physionet-challenge-2020-12-lead-ecg-public/PhysioNetChallenge2020_Training_2.tar.gz)\n\n* [StPetersburg](https://storage.cloud.google.com/physionet-challenge-2020-12-lead-ecg-public/PhysioNetChallenge2020_Training_StPetersburg.tar.gz)\n\n* [PTB](https://storage.cloud.google.com/physionet-challenge-2020-12-lead-ecg-public/PhysioNetChallenge2020_Training_PTB.tar.gz)\n\n* [PTB-XL](https://storage.cloud.google.com/physionet-challenge-2020-12-lead-ecg-public/PhysioNetChallenge2020_PTB-XL.tar.gz)\n* [Georgia](https://storage.cloud.google.com/physionet-challenge-2020-12-lead-ecg-public/PhysioNetChallenge2020_Training_E.tar.gz)\n\n### When using Colab\n\n    DATASETS_DIR = '/content/Data'\n    !mkdir \"{DATASETS_DIR}\"\n    !cd \"{DATASETS_DIR}\"\n\n    # Authentication\n    from google.colab import auth\n    auth.authenticate_user()\n\n    # List avaialble datasets\n    !gsutil ls \"gs://physionet-challenge-2020-12-lead-ecg-public/\"  \n\n    # CPSC\n    !gsutil cp \"gs://physionet-challenge-2020-12-lead-ecg-public/PhysioNetChallenge2020_Training_CPSC.tar.gz\"           . \n    !tar -xzf PhysioNetChallenge2020_Training_CPSC.tar.gz\n    !rm PhysioNetChallenge2020_Training_CPSC.tar.gz\n    !mv Training_WFDB CPSC\n\n    # CPSC-Extra\n    !gsutil cp \"gs://physionet-challenge-2020-12-lead-ecg-public/PhysioNetChallenge2020_Training_2.tar.gz\"              . \n    !tar -xzf PhysioNetChallenge2020_Training_2.tar.gz\n    !rm PhysioNetChallenge2020_Training_2.tar.gz\n    !mv Training_2 CPSC-Extra\n\n    # StPetersburg\n    !gsutil cp \"gs://physionet-challenge-2020-12-lead-ecg-public/PhysioNetChallenge2020_Training_StPetersburg.tar.gz\"   . \n    !tar -xzf PhysioNetChallenge2020_Training_StPetersburg.tar.gz\n    !rm PhysioNetChallenge2020_Training_StPetersburg.tar.gz\n    !mv WFDB StPetersburg\n\n    # PTB\n    !gsutil cp \"gs://physionet-challenge-2020-12-lead-ecg-public/PhysioNetChallenge2020_Training_PTB.tar.gz\"            . \n    !tar -xzf PhysioNetChallenge2020_Training_PTB.tar.gz\n    !rm PhysioNetChallenge2020_Training_PTB.tar.gz\n    !mv WFDB PTB\n\n    # PTB-XL\n    !gsutil cp \"gs://physionet-challenge-2020-12-lead-ecg-public/PhysioNetChallenge2020_Training_PTB-XL.tar.gz\"    . \n    !tar -xzf PhysioNetChallenge2020_Training_PTB-XL.tar.gz\n    !rm PhysioNetChallenge2020_Training_PTB-XL.tar.gz\n    !mv WFDB PTB-XL\n\n    # Georgia\n    !gsutil cp \"gs://physionet-challenge-2020-12-lead-ecg-public/PhysioNetChallenge2020_Training_E.tar.gz\"              . \n    !tar -xzf PhysioNetChallenge2020_Training_E.tar.gz\n    !rm PhysioNetChallenge2020_Training_E.tar.gz\n    !mv WFDB Georgia\n\n  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshehanmunasinghe%2Fecg12lead","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshehanmunasinghe%2Fecg12lead","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshehanmunasinghe%2Fecg12lead/lists"}