awslabs / awslabs/sagemaker-debugger

Tensors not saved in PREDICT step

Open
#269 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
165
Forks
82
PR merge metrics
No merged PRs in 30d

Description

```
if self._prepared_tensors[mode]:
if self._exported_collections is False:
# in keras, these collections change when mode changes
# but rest of the project isn't yet capable of handling this
# this means that collections like outputs, or other collections with intermediate tensors
# will only have tensor names from first mode

# this means sometimes collections will be exported after 1 step
self.export_collections()
self._exported_collections = True
```

If we run the same mode consecutively, we end up exporting collections before all the modes are run.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.