Skip to content
This repository was archived by the owner on Jul 2, 2021. It is now read-only.

Fix SegNet example's evaluation protocol #249

Merged
merged 8 commits into from
Jun 8, 2017

Conversation

yuyu2172
Copy link
Member

@yuyu2172 yuyu2172 commented Jun 6, 2017

Split contents in #238.

```

e.g.,

```
python evaluate.py 0 result/model_iteration-16000
python evaluate.py --gpu 0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This example is no longer needed.

mean_accs.append(n_true_positive[cls_i] / n_true[cls_i])
pixel_accs.append([n_true_positive[cls_i], n_true[cls_i]])
imgs, pred_values, gt_values = apply_prediction_to_iterator(
model.predict, it)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gt_labels, = gt_values

confusion = calc_semantic_segmentation_confusion(
pred_labels, gt_labels, len(camvid_label_names))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yuyu2172 yuyu2172 force-pushed the fix-camvid-segnet branch from 830b224 to 8c8ace9 Compare June 6, 2017 08:33
Copy link
Member

@Hakuyume Hakuyume left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Hakuyume Hakuyume merged commit 3b9fb0d into chainer:master Jun 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants