Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

wandb-ng 0.0.34 broken pipe error on start #71

Open
vukovicnikola opened this issue Jul 21, 2020 · 1 comment
Open

wandb-ng 0.0.34 broken pipe error on start #71

vukovicnikola opened this issue Jul 21, 2020 · 1 comment

Comments

@vukovicnikola
Copy link

vukovicnikola commented Jul 21, 2020

The following error occurs when launching wandb inside a python script in the terminal. No error when same code is run in Jupyter Notebook.

wandb: Currently logged in as: nikola (use `wandb login --relogin` to force relogin)
except handle
Traceback (most recent call last):
  File ".\main.py", line 195, in <module>
    best_model = train_model(model, criterion, optimizer, scheduler, num_epochs=config['epochs'])
  File ".\main.py", line 112, in train_model
    for inputs, labels in dataloaders[phase]:
  File "C:\Users\nikola\anaconda3\lib\site-packages\torch\utils\data\dataloader.py", line 279, in __iter__
    return _MultiProcessingDataLoaderIter(self)
  File "C:\Users\nikola\anaconda3\lib\site-packages\torch\utils\data\dataloader.py", line 719, in __init__
    w.start()
  File "C:\Users\nikola\anaconda3\lib\multiprocessing\process.py", line 112, in start
    self._popen = self._Popen(self)
  File "C:\Users\nikola\anaconda3\lib\multiprocessing\context.py", line 223, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
  File "C:\Users\nikola\anaconda3\lib\multiprocessing\context.py", line 322, in _Popen
    return Popen(process_obj)
  File "C:\Users\nikola\anaconda3\lib\multiprocessing\popen_spawn_win32.py", line 89, in __init__
    reduction.dump(process_obj, to_child)
  File "C:\Users\nikola\anaconda3\lib\multiprocessing\reduction.py", line 60, in dump
    ForkingPickler(file, protocol).dump(obj)
BrokenPipeError: [Errno 32] Broken pipe
@vanpelt
Copy link
Contributor

vanpelt commented Jul 22, 2020

Hey @vukovicnikola are you able to share a sample script that causes this to happen in your environment?

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

No branches or pull requests

2 participants