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
In the end, I see the following: ConfusionMatrix_Stream/eval_phase/test_stream = <avalanche.evaluation.metric_results.AlternativeValues object at 0x7effe45ac550>
Also, when I use as metrics Forward Knowledge Transfer and Backward Knowledge Transfer, I get this error:
Thank you.
The text was updated successfully, but these errors were encountered:
Hi, I have the same issue, and I have sole it while I don't know why it can work:
When I train and test loop, the code is as follows:
for train_task in train_stream:
strategy.train(train_task)
strategy.eval(test_stream)
The work one is :
results = []
for i, experience in enumerate(train_stream):
print("Start of experience: ", experience.current_experience)
print("Current Classes: ", experience.classes_in_this_experience)
# train returns a dictionary containing last recorded value
# for each metric.
res = strategy.train(experience, eval_streams=[test_stream])
print("Training completed")
print("Computing accuracy on the whole test set")
# test returns a dictionary with the last metric collected during
# evaluation on that stream
results.append(strategy.eval(test_stream))
Hello,
How can I have access to the confusion matrix per experience? I have two experiences.
I have this integrated the code below, but I dont know how to access confusion matrix.
In the end, I see the following:
ConfusionMatrix_Stream/eval_phase/test_stream = <avalanche.evaluation.metric_results.AlternativeValues object at 0x7effe45ac550>
Also, when I use as metrics Forward Knowledge Transfer and Backward Knowledge Transfer, I get this error:
Thank you.
The text was updated successfully, but these errors were encountered: