-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Malaria Detection #927
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
Malaria Detection #927
Conversation
Malaria/Dataset/Dataset Link.txt
Outdated
@@ -0,0 +1,7 @@ | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this file is not needed , you can delete it
Malaria/main.py
Outdated
os.environ['TF_XLA_FLAGS'] = '--tf_xla_enable_xla_devices' | ||
|
||
# reading image | ||
img = Image.open("Images/cell1.jpg") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Take input for image path from user
@@ -0,0 +1,450 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Convert this notebook into .py script and delete this notebook
Co-authored-by: Kaustubh Gupta <kaustubhgupta1828@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete the malaraidetection.ipynb file along with this change:
@@ -0,0 +1,86 @@ | |||
# importing the libraries for loading data and visualisation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name this file as model_training.py
instead of script.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the third time: DELETE THIS FILE! malariadetection.ipynb
Co-authored-by: Kaustubh Gupta <kaustubhgupta1828@gmail.com>
@kaustubhgupta This new deep source python is showing errors because of comments and line too long. This code runs perfectly fine on any python ide e.g. Pycharm. Lines will have more than 88 characters , because this is the standard way of training , testing and forming CNN. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
@ayush-raj8 Have a look at pep8 guidelines for long lines here. Also there are great online pep8 formatters. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Python script and model to detect malaria infected cells.
Fixes #893
Replace
893
with the issue number which is fixed in this PR 927Have you read the Contributing Guidelines on Pull Requests?
Type of change
Checklist:
README.md
Template for README.md