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

Commit

Permalink
fix the website error
Browse files Browse the repository at this point in the history
  • Loading branch information
stu1130 committed Apr 3, 2019
1 parent f16d241 commit d0e509f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/mxnet/gluon/data/vision/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,8 @@ class CropResize(HybridBlock):
size : int or tuple of (w, h)
Optional, resize to new size after cropping
interpolation : int, optional
Optional, interpolation method for resizing. By default uses bilinear
Interpolation method for resizing. By default uses bilinear
interpolation. See OpenCV's resize function for available choices.
https://docs.opencv.org/2.4/modules/imgproc/doc/geometric_transformations.html?highlight=resize#resize
Note that the Resize on gpu use contrib.bilinearResize2D operator
which only support bilinear interpolation(1). The result would be slightly
different on gpu compared to cpu. OpenCV tend to align center while bilinearResize2D
Expand Down

0 comments on commit d0e509f

Please sign in to comment.