Skip to content

Commit

Permalink
fix the npu deform roi pool param name error (#3235)
Browse files Browse the repository at this point in the history
  • Loading branch information
huangyuan64 authored Feb 10, 2025
1 parent 1c11e0c commit 53e6b94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmcv/ops/csrc/pytorch/npu/deform_roi_pool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void deform_roi_pool_backward_npu(Tensor grad_output, Tensor input, Tensor rois,
.Output(grad_offset)
.Attr("output_size", output_size)
.Attr("spatial_scale", spatial_scale)
.Attr("sample_ratio", sampling_ratio_)
.Attr("sampling_ratio", sampling_ratio_)
.Attr("gamma", gamma)
.Run();
}
Expand Down

0 comments on commit 53e6b94

Please sign in to comment.