Skip to content

Conversation

reedwm
Copy link
Contributor

@reedwm reedwm commented Aug 2, 2018

The data_async_generation.py process would print to stderr, but the main process would redirect it's stderr to a pipe. The main process never read from the pipe, so when the pipe was full, data_async_generation.py would stall on a write to stderr. This change makes data_async_generation.py not write to stdout/stderr.

The data_async_generation.py process would print to stderr, but the main process would redirect it's stderr to a pipe. The main process never read from the pipe, so when the pipe was full, data_async_generation.py would stall on a write to stderr. This change makes data_async_generation.py not write to stdout/stderr.
@reedwm reedwm requested a review from robieta August 2, 2018 19:32
@reedwm reedwm requested review from a team and karmel as code owners August 2, 2018 19:32
Copy link
Contributor

@robieta robieta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.



def main(_):
global _log_file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yuk. Oh well.

@robieta robieta merged commit 58037d2 into master Aug 2, 2018
@robieta robieta deleted the reedwm-patch-9 branch August 2, 2018 19:51
xueeinstein added a commit to xueeinstein/models that referenced this pull request Aug 3, 2018
* 'master' of https://github.com/tensorflow/models: (382 commits)
  Fix docstrings in data_preprocessing.py. (tensorflow#4976)
  Fix bug where data_async_generation.py would freeze. (tensorflow#4989)
  more minor updates
  update comments and code fixes
  Point buttons to master branch.
  minor updates
  delete debug line
  Better upload error handling.
  fix buttons
  remove link
  Fix titles, private outputs.
  minor fixes.
  Remove whitespace from filename.
  update gitignore and title
  update for pr changes
  Refactor object detection box predictors and fix some issues with model_main. (tensorflow#4965)
  Added github and colab links (tensorflow#4972)
  Remove redundant flatten layers. (tensorflow#4964)
  Delete 4_Neural_Style_Transfer_with_Eager_Execution.py
  NST Blogpost (tensorflow#4886)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants