Commit Graph

22 Commits

Author SHA1 Message Date
lixiaohui a88e8da01b add context setting in examples due to the default mode shift in mindspore 1.3 2021-07-09 14:10:55 +08:00
unknown 9a1d6c4bb1 add file.flush() 2021-06-18 15:32:31 +08:00
unknown 30091baf09 enhance api doc 2021-06-11 11:59:59 +08:00
unknown 38f87a86f3 clean code
fix sample count bug

change file permission

close fd

parens

add lixiahohui33 as approver
2021-06-09 10:35:40 +08:00
mindspore-ci-bot 47e70e5c3a !17115 clean code
From: @ngtony
Reviewed-by: @lixiaohui33,@lixiaohui33
Signed-off-by:
2021-06-03 14:10:33 +08:00
unknown 2b6b51bd57 clean code
fix hoc _update_best()

fix __ issues

rollback metric.py _record_explainer() add _

add docstring

fix docstrings newline
2021-06-01 13:27:11 +08:00
jiangshuqiang 6154f957fb fix static check 2021-05-31 16:47:21 +08:00
zhangyi fa2eaafa51 fix some error format for api comments. 2021-04-19 09:21:23 +08:00
lixiaohui a8975af9b8 modify examples of explainer.benchmark 2021-03-29 21:01:06 +08:00
lixiaohui 62fbbf9eb7 fix explainer doc bugs 2021-03-20 16:12:20 +08:00
unknown 33e63fae2b add envirnoment checkings and change HOC error log to warning log
fix typo

enhance error message

rearrange import statements

swap checking order

fix typo

add no result checking

enhance error message

breakdown verfiy_data()

fix comments typo and add set_train(False)
2021-02-01 15:45:51 +08:00
mindspore-ci-bot 910772cea8 !11309 Add Hierarchical Occlusion Counterfactual
From: @ngtony
Reviewed-by: 
Signed-off-by:
2021-01-25 10:39:36 +08:00
unknown d621b9d4ea Add HOC modules and support uncertainty in runner
fix pylint issues

deepcopy model inside uncertatiny instance

update summary.proto for hoc and uncertainty

update summary.proto tab to spaces

enhance code by review comments

fix comment format

add uncertainty and saliency cross registration checking.

check registered with is none

group constants togather, enhance runner data checking

update copyright year

enhance comment wordings
2021-01-22 14:03:59 +08:00
Xiao Tianci f7093efe6a modify return description in comments 2021-01-18 20:52:04 +08:00
mindspore-ci-bot 1f06cd63f3 !10436 Support to control whether to throw runtime exceptions in SummaryRecord
From: @ouwenchang
Reviewed-by: 
Signed-off-by:
2021-01-06 14:21:21 +08:00
ougongchang 06be546b52 Support to control whether raise RuntimeError exception in SummaryRecord
1. Support explainer raise an RuntimeError exception
2. fix the ut of SummaryRecord
2021-01-06 10:07:47 +08:00
lixiaohui acd10e2635 Fixbug: rise example bug and benchmarkder=() exectuable 2020-12-14 09:52:18 +08:00
lixiaohui e82dee0fff speed up rise 2020-12-09 18:50:08 +08:00
YuhanShi53 afe360f4e8 add skipping when return performance and fix bug for small-size ablation 2020-12-09 12:00:08 +08:00
lixiaohui 2e4b686408 refactor explain core code 2020-12-08 23:23:32 +08:00
Ng Ngai Fai f236394232 change summary subdir mode to 750
Recursively create sub dirs

Optimize heatmap saving

better coding format

fix typo

add os.chmod() to make sure

forgot to append the image filename to the returned path

use realpath() instead of abspath()
2020-12-03 17:18:13 +08:00
Ng Ngai Fai 7498547d8c reform explain runner api
fix pylint problem

fix review comments

fix review comments

enhance register_saliency() checking

fix error type

fix dataset class checking

fix dataset class checking

fix dataset class checking

fix fd open mode

better naming

better naming

fix review comments

fix review comments

fix review comments

fix duplicated benchmarker classes checking

fix comment format

fix comments
2020-12-02 11:41:55 +08:00