{"id":20725044,"url":"https://github.com/sartaj0/pytorchsegmentation","last_synced_at":"2026-04-18T16:32:00.675Z","repository":{"id":255150243,"uuid":"370353470","full_name":"sartaj0/PytorchSegmentation","owner":"sartaj0","description":"Providing a pipeline for training a segmentation model with different architectures","archived":false,"fork":false,"pushed_at":"2021-12-18T11:41:18.000Z","size":19915,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T08:50:20.992Z","etag":null,"topics":["focal-loss","pspnet","pytorch","segmentation","tversky-loss","unet"],"latest_commit_sha":null,"homepage":"https://cv-project-deployed.herokuapp.com/","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/sartaj0.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":"2021-05-24T13:01:29.000Z","updated_at":"2022-08-14T22:03:59.000Z","dependencies_parsed_at":"2024-08-28T09:46:28.094Z","dependency_job_id":"24bbc0aa-e010-4bd8-bf8a-8b0012a2f257","html_url":"https://github.com/sartaj0/PytorchSegmentation","commit_stats":null,"previous_names":["sartaj0/pytorchsegmentation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sartaj0/PytorchSegmentation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sartaj0%2FPytorchSegmentation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sartaj0%2FPytorchSegmentation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sartaj0%2FPytorchSegmentation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sartaj0%2FPytorchSegmentation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sartaj0","download_url":"https://codeload.github.com/sartaj0/PytorchSegmentation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sartaj0%2FPytorchSegmentation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31976397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T16:27:12.723Z","status":"ssl_error","status_checked_at":"2026-04-18T16:27:11.140Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["focal-loss","pspnet","pytorch","segmentation","tversky-loss","unet"],"created_at":"2024-11-17T04:17:06.634Z","updated_at":"2026-04-18T16:31:55.665Z","avatar_url":"https://github.com/sartaj0.png","language":"Python","readme":"# PytorchSegmentation\n\n\n## Dependency \n- pytorch 1.8.1, CUDA 10.2 \u003cbr\u003e `pip3 install torch==1.8.1+cu102 torchvision==0.9.1+cu102` \n- Requirements: Pillow, opencv-python, tqdm, matplotlib \u003cbr\u003e `pip3 install Pillow opencv-python tqdm matplotlib` \n\n\n## Onnx Model\nFrom [here](https://drive.google.com/drive/folders/15VQZVkfNaAGdoFVUabpdWid6aUw_i7d_?usp=sharing) you can download onnx converted model and use this [file](https://github.com/sartaj0/PytorchSegmentation/blob/main/inferenceOnnx.py) for inferencing with opencv. \n\n\n## Output Example\n| Image | Prediction Mask | Output |\n| --- | --- | --- |\n|\u003cimg src=\"./images/IMG_6598.JPG\" width=\"250\" title=\"failure cases\"\u003e | \u003cimg src=\"./images/mask_IMG_6598.JPG\"  width=\"250\" title=\"failure cases\"\u003e | \u003cimg src=\"./images/output_IMG_6598.JPG\"  width=\"250\" title=\"failure cases\"\u003e |\n|\u003cimg src=\"./images/IMG_7124.JPG\" width=\"250\" title=\"failure cases\"\u003e | \u003cimg src=\"./images/mask_IMG_7124.JPG\"  width=\"250\" title=\"failure cases\"\u003e | \u003cimg src=\"./images/output_IMG_7124.JPG\"  width=\"250\" title=\"failure cases\"\u003e |\n|\u003cimg src=\"./images/IMG_7111.JPG\" width=\"250\" title=\"failure cases\"\u003e | \u003cimg src=\"./images/mask_IMG_7111.JPG\"  width=\"250\" title=\"failure cases\"\u003e | \u003cimg src=\"./images/output_IMG_7111.JPG\"  width=\"250\" title=\"failure cases\"\u003e |\n|\u003cimg src=\"./images/IMG_7119.JPG\" width=\"250\" title=\"failure cases\"\u003e | \u003cimg src=\"./images/mask_IMG_7119.JPG\"  width=\"250\" title=\"failure cases\"\u003e | \u003cimg src=\"./images/output_IMG_7119.JPG\"  width=\"250\" title=\"failure cases\"\u003e |","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsartaj0%2Fpytorchsegmentation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsartaj0%2Fpytorchsegmentation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsartaj0%2Fpytorchsegmentation/lists"}