Skip to content

Commit

Permalink
Merge pull request facebookresearch#29 from CharlesCNorton/patch-3
Browse files Browse the repository at this point in the history
fix: correct spelling
  • Loading branch information
ronghanghu authored Jul 30, 2024
2 parents 32750fa + f882beb commit cd270ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sam2/csrc/connected_components.cu
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ std::vector<torch::Tensor> get_connected_componnets(
const uint32_t W = inputs.size(3);

AT_ASSERTM(C == 1, "inputs must be [N, 1, H, W] shape");
AT_ASSERTM((H % 2) == 0, "height must be a even number");
AT_ASSERTM((W % 2) == 0, "width must be a even number");
AT_ASSERTM((H % 2) == 0, "height must be an even number");
AT_ASSERTM((W % 2) == 0, "width must be an even number");

// label must be uint32_t
auto label_options =
Expand Down

0 comments on commit cd270ed

Please sign in to comment.