This file covers all requirments and dependencies from scratch for application Neuracovid-py
Go to Google Cloud Platform
Click on Topics, create a new topic
create a subscription for the topic
Click on Subscriptions, select topic and create subscription
In Google Cloud Platform select storage click on browser and create bucket to store artifacts eg. model , credential file etc
create another bucket to store logs.
recommendation is to have 2vcpu configuration to process max 3 messages at a time and 8vcpu configuration to process more than 25 messages
apt-get update downloads the package lists and "updates" them to get information on the newest versions of packages and their dependencies
The python3-venv module allows us to create “virtual environments” and source will activate "virtual environment"
This will upgrade pip to latest available version
Install Git to clone repository
create path to clone repository
It will clone the Git Hub repository dedicated for neuracovid Application
Tensorflow==1.14.0
numpy
opencv-python
scikit-Learn
matplotlib
pydicom
pandas
firebase_admin
google-cloud-pubsub
python-dotenv
https://www.youtube.com/watch?v=9erwBwCPPzU&feature=emb_title
COVID-Net.git is a open source repository to fight againest the pandemic COVID-19, above command will clone it in neuracovid- py directory
[Model-CXR-Large] go to https://bit.ly/CovidNet-CXR-Large
[Model-SEV-GEO] go to https://bit.ly/COVIDNet-SEV-GEO
[Model-SEV-OPC] go to https://bit.ly/COVIDNet-SEV-OPC
[COVIDNet-CT-A] go to https://bit.ly/2BAPyvM
This file will help to save model from google drive to storage bucket,run commands in colab to save model in storage bucket
create path to store model
This will copy model files from storage bucket (these files should be inside models/COVIDNet-CXR-Large/).
come back to root directory to run script inference.py
gsutil cp gs://bucket_name/credential.json .
gsutil cp gs://bucket_name/.env .
inference.py | inference_heatmap.py script has a updated AI model
This script will get trigger when a new message comes in pubsub topic, message will sent to topic upon the image upload by the user,
findings will be store in firebase-database and heatmaps to storage for every user uniquely
prediction, sensitivity and severity
Normal, Pneumonia, COVID-19 and sensitivity will stored in pecentage
application can be deployed to GCP kubernetes engine