You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I plot the GradCAM with my model(input 12424) and data (24241)
so happens:
“Exception has occurred: InvalidArgumentError
slice index 2 of dimension 1 out of bounds. [Op:StridedSlice] name: strided_slice/
tensorflow.python.eager.core._NotOkStatusException: InvalidArgumentError: slice index 2 of dimension 1 out of bounds. [Op:StridedSlice]
During handling of the above exception, another exception occurred:
File "/home/libinshan/projects/FPAlg/SRCXTestTool/AS/vis_tf_explain.py", line 22, in
grid = explainer.explain(data, model, class_index=2) # 281 is the tabby cat index in ImageNet
tensorflow.python.framework.errors_impl.InvalidArgumentError: slice index 2 of dimension 1 out of bounds. [Op:StridedSlice] name: strided_slice/
”
The text was updated successfully, but these errors were encountered:
I plot the GradCAM with my model(input 12424) and data (24241)
so happens:
“Exception has occurred: InvalidArgumentError
slice index 2 of dimension 1 out of bounds. [Op:StridedSlice] name: strided_slice/
tensorflow.python.eager.core._NotOkStatusException: InvalidArgumentError: slice index 2 of dimension 1 out of bounds. [Op:StridedSlice]
During handling of the above exception, another exception occurred:
File "/home/libinshan/projects/FPAlg/SRCXTestTool/AS/vis_tf_explain.py", line 22, in
grid = explainer.explain(data, model, class_index=2) # 281 is the tabby cat index in ImageNet
tensorflow.python.framework.errors_impl.InvalidArgumentError: slice index 2 of dimension 1 out of bounds. [Op:StridedSlice] name: strided_slice/
”
The text was updated successfully, but these errors were encountered: