2.3K Star 8K Fork 4.2K

GVPMindSpore / mindspore

 / 详情

[MSLITE] [TF-Hub] [Stylization] Convolution operator gets a wrong result.

DONE
Bug-Report 成员
创建于  
2020-09-25 16:17
name about labels
Bug Report Convolution operator gets a wrong result. 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

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

Related testcase

Steps to reproduce the issue

  1. Run a tfhub model including convolution operators whose weight is Int8 and the input is float32.
  2. Check the result.

The models including:
lite-model_east-text-detector_int8_1.tflite
lite-model_deeplabv3-xception65_1_default_1.tflite
lite-model_deeplabv3-xception65-cityscapes_1_default_1.tflite
lite-model_deeplabv3-xception65-ade20k_1_default_1.tflite
lite-model_deeplabv3-mobilenetv3-cityscapes_1_default_1.tflite
lite-model_deeplabv3-mobilenetv2_dm05_1_default_1.tflite
lite-model_deeplabv3-mobilenetv2_1_default_1.tflite
lite-model_deeplabv3-mobilenetv2-ade20k_1_default_1.tflite
lite-model_cartoongan_dr_1.tflite
lite-model_arbitrary-image-stylization-inceptionv3_dr_transfer_1.tflite
lite-model_arbitrary-image-stylization-inceptionv3_dr_predict_1.tflite
lite-model_arbitrary-image-stylization-inceptionv3-dynamic-shapes_dr_predict_1.tflite

Describe the current behavior

Describe the expected behavior

Related log / screenshot

Special notes for this issue

评论 (5)

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

Hey wang_shaocong, 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.

wangshaocong 负责人设置为张学同
wangshaocong 添加协作者zhaodezan
ivss 里程碑设置为B-Lite
wangshaocong 计划截止日期设置为2020-09-26
wangshaocong 计划开始日期设置为2020-09-25
wangshaocong 计划截止日期2020-09-26 修改为2020-10-25
ivss 优先级设置为主要
zhanghaibo 添加协作者zhanghaibo

权重int8,输入fp32的卷积算子精度问题

张学同 添加协作者张学同
张学同 负责人张学同 修改为cjh9368

暂不支持动态量化,建议精度对比跟pb模型对比

cjh9368 任务状态TODO 修改为VALIDATION
cjh9368 里程碑B-Lite 修改为B-LiteTest
cjh9368 任务状态VALIDATION 修改为ACCEPTED
cjh9368 负责人cjh9368 修改为未设置
cjh9368 负责人设置为张学同
cjh9368 取消协作者张学同
HWYYJ 里程碑B-LiteTest 修改为B-Lite
wangshaocong 计划截止日期2020-10-25 修改为2020-11-15

官网没有提供对应pb模型,暂时无法对比

wangshaocong 计划截止日期2020-11-15 修改为2021-09-25
张学同 任务状态ACCEPTED 修改为WIP

mslite不支持动态量化方式,与tflite 动态量化精度对比没有参考性,
实际上mslite是用fp32实现精度更高,所以该问题为非问题

张学同 任务状态WIP 修改为DONE
张学同 里程碑B-Lite 修改为B-LiteTest
张学同 添加协作者张学同
张学同 负责人张学同 修改为andy_wangrui

登录 后才可以发表评论

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

搜索帮助