Info

This question is closed. Reopen it to edit or answer.

change detection with CNN pytorch

1 view (last 30 days)
linou landini
linou landini on 30 Oct 2021
Closed: Walter Roberson on 30 Oct 2021
I want to display a change detection image after the result of the confusion matrix, I have divided my model 70% train and 30% test.
print('Validation accuracy test: {:.4f}%'.format(float(accuracy_score(val_y, predictions)) * 100))
conf_matrix = confusion_matrix(val_y, predictions)
for i in range(predictions.size) :
x = val_x[i]
y=predictions[i]
plt.imshow(x,y)

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!