{"id":20521344,"url":"https://github.com/asiff00/medical-image-generation-with-gans-tensorflow","last_synced_at":"2025-10-08T14:01:58.203Z","repository":{"id":186781945,"uuid":"675750092","full_name":"asiff00/Medical-Image-Generation-With-Gans-Tensorflow","owner":"asiff00","description":"The primary aim is to train the GAN to generate highly realistic synthetic X-ray images that closely resemble the real ones in the dataset. These synthetic images can then be utilized for future data augmentation.","archived":false,"fork":false,"pushed_at":"2023-08-07T17:26:20.000Z","size":25727,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-16T10:36:26.212Z","etag":null,"topics":["deep-learning","gan","generative-adversarial-network","generative-ai","image-classification","image-processing","machine-learning","medical-image-processing","medical-imaging","neural-network"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asiff00.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-07T16:25:06.000Z","updated_at":"2024-02-19T01:32:46.000Z","dependencies_parsed_at":"2023-08-07T18:30:17.247Z","dependency_job_id":null,"html_url":"https://github.com/asiff00/Medical-Image-Generation-With-Gans-Tensorflow","commit_stats":null,"previous_names":["himisir/medical-image-generation-with-gans-tensorflow","asiff00/medical-image-generation-with-gans-tensorflow"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asiff00%2FMedical-Image-Generation-With-Gans-Tensorflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asiff00%2FMedical-Image-Generation-With-Gans-Tensorflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asiff00%2FMedical-Image-Generation-With-Gans-Tensorflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asiff00%2FMedical-Image-Generation-With-Gans-Tensorflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asiff00","download_url":"https://codeload.github.com/asiff00/Medical-Image-Generation-With-Gans-Tensorflow/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242125687,"owners_count":20075775,"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":["deep-learning","gan","generative-adversarial-network","generative-ai","image-classification","image-processing","machine-learning","medical-image-processing","medical-imaging","neural-network"],"created_at":"2024-11-15T22:28:22.611Z","updated_at":"2025-10-08T14:01:58.197Z","avatar_url":"https://github.com/asiff00.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/himisir/medical-image-generation-with-gans-tensorflow/blob/main/src/X-ray.png\" width=\"800px\" /\u003e\n\u003c/div\u003e\n\n\u003ch1 align=\"center\"\u003eGenerative Adversarial Networks (GANs) for Synthetic Pneumonia-Positive X-ray Images\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#about\"\u003eAbout\u003c/a\u003e •\n  \u003ca href=\"#configuration-details\"\u003eConfiguration Details\u003c/a\u003e •\n  \u003ca href=\"#results\"\u003eResults\u003c/a\u003e •\n  \u003ca href=\"#future-work\"\u003eFuture Work\u003c/a\u003e •\n  \u003ca href=\"#run-on-kaggle\"\u003eRun on Kaggle\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## About\n\nThis notebook uses Generative Adversarial Networks (GANs) to generate synthetic pneumonia-positive X-ray images. The goal is to generate hyperrealistic images that can be used to augment the existing dataset for better model training. The current demo has yet to achieve this goal, but the plan is to explore the application of Generative Adversarial Networks (GANs) to generate new and accurate medical images in the future.\n\n**The primary aim is to train the GAN to generate highly realistic synthetic X-ray images that closely resemble the real ones in the dataset. These synthetic images can then be utilized for future data augmentation.**\n\nAs of the current demonstration, the generated images might not yet reach clinically accurate levels. However, **a more complex architecture has the potential to generate highly realistic and accurate pneumonia-positive X-ray images.** The synthetic images produced can effectively augment existing datasets of pneumonia-positive X-rays, leading to improved accuracy and performance of pneumonia detection models.\n\n---\n\n## Configuration Details\n\n* :rocket: GPU Accelerator: T4 (2 units)\n* :file_folder: Dataset: **[Chest X-ray Pneumonia](https://www.kaggle.com/datasets/paultimothymooney/chest-xray-pneumonia)** \n* :bar_chart: Dataset Size: 3875\n* :framed_picture: Output Image Size: 512x512\n* :gear: Optimizer: Adam\n* :chart_with_upwards_trend: Learning Rate: 0.0002\n* :fishing_pole_and_fish: Loss Function: Binary Crossentropy\n* :artificial_satellite: Generator: 1 Dense, 6 Convolutional Transpose, 1 Convolutional\n* :mag: Discriminator: 4 Convolutional, 4 MaxPooling, 1 Flatten, 2 Dense\n\n---\n\n## Results\n\n\u003cdetails\u003e\n\u003csummary\u003eClick here for results!\u003c/summary\u003e\n\u003cbr\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/himisir/medical-image-generation-with-gans-tensorflow/blob/main/src/img1.png\" width=\"800px\" /\u003e\n\u003c/div\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/himisir/medical-image-generation-with-gans-tensorflow/blob/main/src/img2.png\" width=\"800px\" /\u003e\n\u003c/div\u003e\n\u003c/details\u003e\n\n---\n\n## Future Work\n\n- :building_construction: Explore more complex architectures for GANs.\n- :microscope: Generate highly realistic and accurate pneumonia-positive X-ray images.\n- :1234: Augment existing datasets of pneumonia-positive X-rays.\n\n---\n\n## Run on Kaggle\n\nTo run this project on Kaggle, click the button below:\n\n[![Open in Kaggle](https://img.shields.io/badge/Open%20in-Kaggle-blue?logo=kaggle)](https://www.kaggle.com/code/asif00/medical-image-generation-with-gans)\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasiff00%2Fmedical-image-generation-with-gans-tensorflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasiff00%2Fmedical-image-generation-with-gans-tensorflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasiff00%2Fmedical-image-generation-with-gans-tensorflow/lists"}