Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix the typo
Browse files Browse the repository at this point in the history
  • Loading branch information
shesung committed Dec 27, 2018
1 parent 7340f14 commit 85f0a65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/operator/contrib/roi_align.cc
Original file line number Diff line number Diff line change
Expand Up @@ -563,9 +563,9 @@ He, Kaiming, et al. "Mask R-CNN." ICCV, 2017
// out: [num_rois, c, pooled_h, pooled_w]
out_shape->clear();
if (param.position_sensitive) {
CHECK_EQ(dshape[1] % (param.pooled_size[0]*param.pooled_size[1]), 0) <<
"Input channels shuold be divided by pooled_size[0]*pooled_size[1]";
out_shape->push_back(
CHECK_EQ(dshape[1] % (param.pooled_size[0]*param.pooled_size[1]), 0) <<
"Input channels shuold be divided by pooled_size[0]*pooled_size[1]";
Shape4(bshape[0], dshape[1]/param.pooled_size[0]/param.pooled_size[1],
param.pooled_size[0], param.pooled_size[1]));
} else {
Expand Down

0 comments on commit 85f0a65

Please sign in to comment.