Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Progress bar + file observer = tee timeout error #907

Open
thisiscam opened this issue Jan 29, 2023 · 0 comments
Open

Progress bar + file observer = tee timeout error #907

thisiscam opened this issue Jan 29, 2023 · 0 comments

Comments

@thisiscam
Copy link

thisiscam commented Jan 29, 2023

Hi,

I was able to consistently reproduce a tee timeout on sacred 0.8.4 and using tqdm progress bar:

# test_sacred_tqdm.py
import sacred
import tqdm

ex = sacred.Experiment()

@ex.automain
def main():
  for i in tqdm.tqdm(range(100)):
    pass

Running with command

python test_sacred_tqdm.py -F tmp1/

results in

/python3.9/site-packages/sacred/stdout_capturing.py:179: UserWarning: tee_stdout.wait timeout. Forcibly terminating.
  warnings.warn("tee_stdout.wait timeout. Forcibly terminating.")
/python3.9/site-packages/sacred/stdout_capturing.py:185: UserWarning: tee_stderr.wait timeout. Forcibly terminating.
  warnings.warn("tee_stderr.wait timeout. Forcibly terminating.")

Seems related to #289 and #440

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant