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

Predict function might go into infinite loop on some systems #5

Open
aibharata opened this issue Jun 6, 2020 · 0 comments
Open

Predict function might go into infinite loop on some systems #5

aibharata opened this issue Jun 6, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@aibharata
Copy link
Owner

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 ) )

@aibharata aibharata added the bug Something isn't working label Jun 6, 2020
@aibharata aibharata changed the title Predict function might go into infinite loop in some systems Predict function might go into infinite loop on some systems Jun 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant