Browse Source

debugger: fixed empty viewCMD in some specific situation

tags/v1.0.0
zhangyunshu 5 years ago
parent
commit
0f6ec828dd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindinsight/debugger/stream_handler/tensor_handler.py

+ 1
- 1
mindinsight/debugger/stream_handler/tensor_handler.py View File

@@ -214,7 +214,7 @@ class TensorHandler(StreamHandlerBase):
# add `has_prev_step` field to tensor basic info.
if basic_info:
tensor_info.update(basic_info)
if not basic_info.get('value'):
if basic_info.get('value') is None:
missed_tensors.append(tensor_info)
log.debug("Add view cmd for %s", tensor_name)
else:


Loading…
Cancel
Save