Coder Social home page Coder Social logo

aibharata / medicalai Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 8.0 886 KB

Medical-AI is a AI framework specifically for Medical Applications https://aibharata.github.io/medicalAI/

License: Apache License 2.0

Python 100.00%
ai-framework keras medical-applications medical-imaging pdf-report prediction tensorflow tensorflow2

medicalai's Introduction

Hi there ๐Ÿ‘‹

About My Github Journey

aibharata's github stats

aibharata's github stats

Visitor count

medicalai's People

Contributors

aibharata avatar asr-aditya avatar iamvnie avatar robsteneha avatar trellixvulnteam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

medicalai's Issues

Medicalai ErrorStoppping Not Working

Hi @aibharata

When we want to stop the training early with medicalai via a callback called EarlyStopping, it gives an error at line 209 in the file "medicalai/chief/core.py".
How should the data be defined here, because it is desired to behave like a string first and then a dictionary.
Can you share sample data?

Error line

if bestModelCond is not None and bestModelCond.lower() != 'default':
print('\n[INFO]: ENGINE INITIALIZED WITH "SAVING BEST MODEL" and Early Stopping MODE\n')
earlystop_callback = tf.keras.callbacks.EarlyStopping(
monitor=bestModelCond['monitor'],
min_delta=bestModelCond['min_delta'],
patience=bestModelCond['patience']
)
if callbacks is None:
callbacks=[earlystop_callback]
else:
callbacks.append(earlystop_callback)

[Security] Workflow deploy-docs.yml is using vulnerable action actions/checkout

The workflow deploy-docs.yml is referencing action actions/checkout using references v1. However this reference is missing the commit a6747255bd19d7a757dbdda8c654a9f84db19839 which may contain fix to the some vulnerability.
The vulnerability fix that is missing by actions version could be related to:
(1) CVE fix
(2) upgrade of vulnerable dependency
(3) fix to secret leak and others.
Please consider to update the reference to the action.

Predict function might go into infinite loop on some systems

Solution 1:

Try reinstalling medicalai+ TensorFlow in a new and clean virtual environment.

Solution 2: Use the following modifications

For Prediction:

predictions = infEngine.model.predict(testGen.generator,verbose=1, steps=testGen.STEP_SIZE)
predictions = trainer.model.predict(testGen.generator,verbose=1, steps=testGen.STEP_SIZE)

For generate_evaluation_report:

generate_evaluation_report(testSet=testGen, predictions = infEngine.model.predict( testGen.generator, verbose=1, steps=testGen.STEP_SIZE ) )

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.