Skip to content

Commit

Permalink
Fixed out-of-date dataset name (zhanghang1989#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
serend1p1ty authored Jul 5, 2020
1 parent 4f0a87b commit 2d5b5ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/model_zoo/segmentation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ Quick Demo
predict = torch.max(output, 1)[1].cpu().numpy() + 1
# Get color pallete for visualization
mask = encoding.utils.get_mask_pallete(predict, 'pcontext')
mask = encoding.utils.get_mask_pallete(predict, 'pascal_voc')
mask.save('output.png')
Expand Down

0 comments on commit 2d5b5ef

Please sign in to comment.