You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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 ) )
The text was updated successfully, but these errors were encountered: