Skip to main content

CovXNet: A Multi-Dilation Convolutional Neural Network for Automatic COVID-19 and Other Pneumonia Detection from Chest X-ray Images with Transferable Multi-Receptive Feature Optimization

Abstract:

With the recent outbreak of COVID-19, fast diagnostic testing has become one of the major challenges due to the critical shortage of test kit. Pneumonia, a major effect of COVID-19, needs to be urgently diagnosed along with its underlying reasons. In this paper, deep learning aided automated COVID-19 and other pneumonia detection scheme is proposed utilizing a small amount of COVID-19 chest X-rays. A deep convolutional neural network (CNN) based architecture, named as CovXNet, is proposed that utilizes depthwise convolution with varying dilation rates for efficiently extracting diversified features from chest X-rays. Since the chest X-ray images corresponding to COVID-19 caused pneumonia and other traditional pneumonia have significant similarities, at first, a large number of chest X-rays corresponding to normal and (viral/bacterial) pneumonia patients are used to train the proposed CovXNet. Learning of this initial training phase is transferred with some additional fine-tuning layers that are further trained with a smaller number of chest X-rays corresponding to COVID-19 and other pneumonia patients. In the proposed method, different forms of CovXNets are designed and trained with X-ray images of various resolutions and for further optimization of their predictions, a stacking algorithm is employed. Finally, a gradient-based discriminative localization is integrated to distinguish the abnormal regions of X-ray images referring to different types of pneumonia. Extensive experimentations on two different datasets provide very satisfactory detection performance and thus the new scheme can serve as an efficient tool in the current state of COVID-19 pandemic.

Paper link: here

Installation

Stable:

pip install covxnet

or

Latest:

pip install git+https://github.com/awsaf49/covxnet

Usage

from covxnet import CovXNet128
model = CovXNet128(input_shape=(128, 128, 3), num_classes=3)

Example

Notebook: Pneumonia Detection with CovXNet

Method

Visual Abstract:

Ensemble Network:

Architecture:

Metadata

Release files for covxnet 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for covxnet 1.0.0
File Size Uploaded Provenance Actions
covxnet-1.0.0.tar.gz 8.6 kB Without provenance Details for covxnet-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for covxnet 1.0.0
File Interpreter ABI Platform Actions
covxnet-1.0.0-py3-none-any.whl Python 3 none any Details for covxnet-1.0.0-py3-none-any.whl

Total release size: 18.1 kB

Release files / covxnet-1.0.0.tar.gz

Download URL covxnet-1.0.0.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bbd77113da36f549aeb92246a8371e353f29d96ad97a0551a1065d91a9296532
BLAKE2b-256 checksum
How to use checksums
cd7e4f5db8c2c7e184e93177c3f200010d361aad3eac9cd13f0a86404d9ffc86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / covxnet-1.0.0-py3-none-any.whl

Download URL covxnet-1.0.0-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bfe9030cd3e3d9cf7cbd7ae0e888086259ace0a33c0313fab9afbddabe3803f3
BLAKE2b-256 checksum
How to use checksums
cc0f5ea1908898828ecf12423a5e533a7e6f2cb2a02eddedcb2fd8091809e13b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Security for covxnet 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page