Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge #94

Merged
merged 31 commits into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
10fce37
Merge pull request #70 from Aydinhamedi/Alpha-b
Aydinhamedi Jan 4, 2024
ea6633e
Merge pull request #71 from Aydinhamedi/Beta-b
Aydinhamedi Jan 4, 2024
0345e76
Merge pull request #72 from Aydinhamedi/Alpha-b
Aydinhamedi Jan 4, 2024
2aa5e75
Merge pull request #73 from Aydinhamedi/Beta-b
Aydinhamedi Jan 4, 2024
bad02f3
Update README.md
Aydinhamedi Jan 4, 2024
e1c8847
Merge pull request #74 from Aydinhamedi/Alpha-b
Aydinhamedi Jan 4, 2024
7c7e0d6
Merge pull request #75 from Aydinhamedi/Beta-b
Aydinhamedi Jan 4, 2024
b336417
Merge pull request #76 from Aydinhamedi/Alpha-b
Aydinhamedi Jan 6, 2024
aed5827
Merge pull request #77 from Aydinhamedi/Beta-b
Aydinhamedi Jan 6, 2024
5a02843
Merge pull request #78 from Aydinhamedi/Alpha-b
Aydinhamedi Jan 6, 2024
cacfc25
Merge pull request #79 from Aydinhamedi/Beta-b
Aydinhamedi Jan 6, 2024
06f4490
Merge pull request #80 from Aydinhamedi/Alpha-b
Aydinhamedi Jan 6, 2024
3796873
Update README.md
Aydinhamedi Jan 6, 2024
fa02114
Merge pull request #81 from Aydinhamedi/Alpha-b
Aydinhamedi Jan 6, 2024
0582c86
Merge pull request #82 from Aydinhamedi/Alpha-b
Aydinhamedi Jan 6, 2024
77f44b3
Merge pull request #83 from Aydinhamedi/Beta-b
Aydinhamedi Jan 6, 2024
40da537
Merge pull request #84 from Aydinhamedi/Alpha-b
Aydinhamedi Jan 7, 2024
5df7f0a
Merge pull request #85 from Aydinhamedi/Beta-b
Aydinhamedi Jan 7, 2024
33a2865
Merge pull request #86 from Aydinhamedi/Alpha-b
Aydinhamedi Jan 10, 2024
027c57a
Merge branch 'main' into Beta-b
Aydinhamedi Jan 10, 2024
e1c85b8
Delete .github/workflows/label.yml
Aydinhamedi Jan 10, 2024
3f63cb2
Merge pull request #87 from Aydinhamedi/Beta-b
Aydinhamedi Jan 10, 2024
8f5641a
Merge pull request #89 from Aydinhamedi/Alpha-b
Aydinhamedi Jan 10, 2024
e9c99b1
Merge pull request #90 from Aydinhamedi/Alpha-b
Aydinhamedi Jan 10, 2024
03e520c
Update README.md
Aydinhamedi Jan 10, 2024
58d3280
Merge pull request #91 from Aydinhamedi/Beta-b
Aydinhamedi Jan 10, 2024
b003b0b
Create dependency-review.yml
Aydinhamedi Jan 10, 2024
b9150ed
Create python-app.yml
Aydinhamedi Jan 10, 2024
2c783bf
Merge pull request #92 from Aydinhamedi/Alpha-b
Aydinhamedi Jan 10, 2024
f1f9472
Update python-app.yml
Aydinhamedi Jan 10, 2024
efe214e
Update README.md
Aydinhamedi Jan 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Dependency Review Action
#
# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.
#
# Source repository: https://github.com/actions/dependency-review-action
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
name: 'Dependency Review'
on: [pull_request]

permissions:
contents: read

jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v3
- name: 'Dependency Review'
uses: actions/dependency-review-action@v3
22 changes: 0 additions & 22 deletions .github/workflows/label.yml

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Python application

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then
grep -v 'gpu-control' requirements.txt | xargs pip install
fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Main code Updated
run: |
python Check_MCUS.py
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
# Pneumonia Detection AI
<img src="https://img.shields.io/badge/Python-FFD43B?style=for-the-badge&logo=python&logoColor=blue"/> <img src="https://img.shields.io/badge/TensorFlow-FF6F00?style=for-the-badge&logo=tensorflow&logoColor=white"/> <img src="https://img.shields.io/badge/Keras-FF0000?style=for-the-badge&logo=keras&logoColor=white"/>

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![CodeQL](https://github.com/Aydinhamedi/Pneumonia-Detection-Ai/actions/workflows/codeql.yml/badge.svg?branch=main)](https://github.com/Aydinhamedi/Pneumonia-Detection-Ai/actions/workflows/codeql.yml)
[![Dependency Review](https://github.com/Aydinhamedi/Pneumonia-Detection-Ai/actions/workflows/dependency-review.yml/badge.svg)](https://github.com/Aydinhamedi/Pneumonia-Detection-Ai/actions/workflows/dependency-review.yml)\
[![Python application](https://github.com/Aydinhamedi/Pneumonia-Detection-Ai/actions/workflows/python-app.yml/badge.svg)](https://github.com/Aydinhamedi/Pneumonia-Detection-Ai/actions/workflows/python-app.yml)
### This project uses a deep learning model built with the TensorFlow framework to detect pneumonia in X-ray images. The model architecture is based on the EfficientNetB7 model, which has achieved an accuracy of approximately 97.12% (97.11538%) on our test data. This high accuracy rate is one of the strengths of our AI model.
> [!IMPORTANT]
> The code that have achived the highest acc is `backup/V6/Model_T&T.ipynb`.\
> And the code with the light model is `backup/V7/Model_T&T.ipynb`.

## Usage
> [!TIP]
> If you just want the model go to the Github Releases.
Expand Down