zhangyi
fa2eaafa51
fix some error format for api comments.
4 years ago
lixiaohui
a8975af9b8
modify examples of explainer.benchmark
5 years ago
lixiaohui
62fbbf9eb7
fix explainer doc bugs
5 years ago
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)
5 years ago
mindspore-ci-bot
910772cea8
!11309 Add Hierarchical Occlusion Counterfactual
From: @ngtony
Reviewed-by:
Signed-off-by:
5 years ago
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
5 years ago
mindspore-ci-bot
6c188ecd52
!11400 Fixbug: shape mismatch error for Guidedbackprop and Deconvolution in explainer
From: @lixiaohui33
Reviewed-by: @ouwenchang
Signed-off-by:
5 years ago
lixiaohui
7284308828
Fixbug I2CZVJ: shape error during ReLU Gradients
5 years ago
Xiao Tianci
f7093efe6a
modify return description in comments
5 years ago
mindspore-ci-bot
1f06cd63f3
!10436 Support to control whether to throw runtime exceptions in SummaryRecord
From: @ouwenchang
Reviewed-by:
Signed-off-by:
5 years ago
ougongchang
06be546b52
Support to control whether raise RuntimeError exception in SummaryRecord
1. Support explainer raise an RuntimeError exception
2. fix the ut of SummaryRecord
5 years ago
mindspore-ci-bot
1adadfb0ae
!9883 Fixbug: rise example bug and benchmarkder=() exectuable
From: @lixiaohui33
Reviewed-by: @wuxuejian,@jonyguo,@lilongfei15
Signed-off-by: @lilongfei15
5 years ago
wangshuide2020
abf0d30537
update the doc string of some operations.
5 years ago
lixiaohui
acd10e2635
Fixbug: rise example bug and benchmarkder=() exectuable
5 years ago
lixiaohui
e82dee0fff
speed up rise
5 years ago
YuhanShi53
afe360f4e8
add skipping when return performance and fix bug for small-size ablation
5 years ago
lixiaohui
2e4b686408
refactor explain core code
5 years ago
mindspore-ci-bot
bcc5e8b26c
!9436 Create explainer summary's subdirectories with mode 750
From: @ngtony
Reviewed-by: @jonyguo,@ouwenchang
Signed-off-by: @ouwenchang
5 years ago
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()
5 years ago
mindspore-ci-bot
4b539980bf
!9275 Reform explain runner api
From: @ngtony
Reviewed-by:
Signed-off-by:
5 years ago
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
5 years ago
zhangyi
13e2aee0ea
fix somee error format for comments.
5 years ago
YuhanShi53
3b4ab344b0
fix memory exceed bug in Robustness and ValueError in Occlusion.
5 years ago
lixiaohui
a8eca53596
Fixbug: modify GuidedBackprop API to make example executable
5 years ago
lixiaohui
33f75f191c
Fixbug: fix API docs bugs
5 years ago
lixiaohui
f6134bd1da
fixbug: NaiveFaithfulness NaN warning and system errors when benchmark num_labels and model output dimension does not match.
5 years ago
YuhanShi53
ca353c3262
fix get_next bug in explainer._runner and NaN dataset.
5 years ago
YuhanShi53
c24fabcd8e
correct mistakes in docstring and fix bugs when no benchmark is passed.
5 years ago
YuhanShi53
1c4ab31231
fix mistakes in docstring
5 years ago
mindspore-ci-bot
467a0983b4
!8962 [fixbug] issue#I26THC: ValueError when argument 'benchmarks' is set default
From: @lixiaohui33
Reviewed-by: @wuxuejian,@ouwenchang
Signed-off-by: @ouwenchang
5 years ago
lixiaohui
9f722fb850
fix issue#I26THC: ValueError when benchmark is set default
5 years ago
YuhanShi53
61164e7d52
add feature/explainer/ClassSensitivity, Occlusion, Robustness
5 years ago
lixiaohui
2161c85d52
add rise explanation method, modify runner and faithfulness
5 years ago
unknown
64f27b66f1
add uncertainty, 1 ch saliency, separated datafile
bugfix
undo unexecpted changes
modify summary format
bugfix
fix CI problem
enhance comment
fix comment typo
use mindspore.log for errors
fix pylint issues
5 years ago
lixiaohui
df94bb6562
Fix issue#123FX6: format API comments
5 years ago
lixiaohui
5ed0766a80
Fixbug: Numpy warning during correlation calculation when all zero saliency map encountered
5 years ago
lixiaohui
1632d44711
fix benchmark=[] bug
5 years ago
lixiaohui
fbb88530cd
Fixbug: add input params validity check & fix NaN faithfulness issue
5 years ago
lixiaohui
c8b62074c9
include explainer in cmake and modify __init__ in explanation classes.
5 years ago
lixiaohui
744f094add
Add explainer to provide eXplainable AI tools.
This commit provides APIs for user to use the widely used attribution methods to explain DL models and the evaluation methods to quantify the explanations. With combination of MindInsight, the user can have a friendly visualization on their models.
5 years ago