2.3K Star 8.1K Fork 4.3K

GVPMindSpore / mindspore

 / 详情

[MS][CPU][DataAugmentation] Fix for call to PadBBoxes in RandomCropWithBBox Op

DONE
Bug-Report
创建于  
2020-09-18 06:09
name about labels
RandomCropWithBBox incorrect Padding call Incorrect call for PadBBoxes function kind/bug

Environment

  • Hardware Environment(Ascend/GPU/CPU):

Uncomment only one /device <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:

/device ascend
/device gpu

/device cpu (however, is not a device bound Op, will run on CPU)

  • Software Environment:
    -- MindSpore version (source or binary): source
    -- Python version (e.g., Python 3.7.5): 3.7.5
    -- OS platform and distribution (e.g., Linux Ubuntu 16.04): 18.04
    -- GCC/Compiler version (if compiled from source): 7.4.0

Related testcase

/tests/ut/python/dataset/test_random_crop_with_bbox.py

Steps to reproduce the issue

  1. Change padding values in the op in any test to be 4 different values
  2. Run the test with 'Python' -> python test_random_crop....
  3. Visualizations show incorrect box position post padding

Describe the current behavior

  • Boxes are being adjusted for top and left padding incorrectly (call parameters flipped)

Describe the expected behavior

  • Boxes should pad according to left and top padding values of the image, currently inverted.

评论 (1)

danishfarid_coop 创建了Bug-Report
danishfarid_coop 关联仓库设置为MindSpore/mindspore
展开全部操作日志

Hey danishnxt, Welcome to MindSpore Community.
All of the projects in MindSpore Community are maintained by @mindspore-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/mindspore/community/blob/master/command.md to find the details.

danishfarid_coop 添加了
 
sig/minddata
标签
danishfarid_coop 修改了描述
danishfarid_coop 通过mindspore/mindspore Pull Request !6448任务状态TODO 修改为DONE

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5518576 mindspore ci 1587902139
Python
1
https://gitee.com/mindspore/mindspore.git
git@gitee.com:mindspore/mindspore.git
mindspore
mindspore
mindspore

搜索帮助