Skip to content

resultAnalysis crashes when prediction_samples is specified #98

Description

@Francesco-Baroni

Problem:
When the resultAnalysis function is called with the prediction_samples argument, it crashes.
A solution is to also set the batch_size argument to a value smaller than the value of the prediction_samples argument. However, changing the batch_size in the range 0 < batch_size <= prediction_samples also alters the result of the analysis.

Code examples:
model.resultAnalysis(dataset='data_test', name='Model', prediction_samples=100) This crashes.
model.resultAnalysis(dataset='data_test', name='Model', batch_size=128, prediction_samples=100) This crashes.
model.resultAnalysis(dataset='data_test', name='Model', batch_size=100, prediction_samples=100) This gives some analysis results.
model.resultAnalysis(dataset='data_test', name='Model', batch_size=10, prediction_samples=100) This gives different analysis results.

The dataset used has 60000 samples.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    • Status
      Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions