wandb: ERROR W&B process (PID 18228) did not respond (in windows)
See original GitHub issuewandb --version && python --version && uname
wandb, version 0.8.29 Python 3.7.5 MINGW64_NT-10.0-18363,
- Weights and Biases version: 3.7.5
- Python version: 0.8.29
- Operating System: Windows
Description
I’m using wandb first time and I am initializing a project using wandb.init()
in a python script.
What I Did
I am running -
# other imports
import wandb
wandb.init()
# building model, training... etc
Its showing
wandb: Tracking run with wandb version 0.8.29
Traceback (most recent call last):
File "C:\Users\brain\AppData\Local\Programs\Python\Python37\lib\site-packages\wandb\internal_cli.py", line 106, in <module>
main()
File "C:\Users\brain\AppData\Local\Programs\Python\Python37\lib\site-packages\wandb\internal_cli.py", line 98, in main
headless(args)
File "C:\Users\brain\AppData\Local\Programs\Python\Python37\lib\site-packages\wandb\internal_cli.py", line 54, in headless
util.sentry_reraise(e)
File "C:\Users\brain\AppData\Local\Programs\Python\Python37\lib\site-packages\wandb\util.py", line 94, in sentry_reraise
six.reraise(type(exc), exc, sys.exc_info()[2])
File "C:\Users\brain\AppData\Local\Programs\Python\Python37\lib\site-packages\six.py", line 696, in reraise
raise value
File "C:\Users\brain\AppData\Local\Programs\Python\Python37\lib\site-packages\wandb\internal_cli.py", line 52, in headless
user_process_pid, stdout_master_fd, stderr_master_fd)
File "C:\Users\brain\AppData\Local\Programs\Python\Python37\lib\site-packages\wandb\run_manager.py", line 1137, in wrap_existing_process
stderr_read_file = os.fdopen(stderr_read_fd, 'rb')
File "C:\Users\brain\AppData\Local\Programs\Python\Python37\lib\os.py", line 1027, in fdopen
return io.open(fd, *args, **kwargs)
OSError: [WinError 6] The handle is invalid
wandb: ERROR W&B process (PID 8748) did not respond
wandb: ERROR W&B process failed to launch, see: wandb\debug.log
Traceback (most recent call last):
File "c:\Users\brain\Desktop\Projects\Dxeon\pytorch nn.py", line 6, in <module>
wandb.init(project = "my-project")
File "C:\Users\brain\AppData\Local\Programs\Python\Python37\lib\site-packages\wandb\__init__.py", line 1088, in init
_init_headless(run)
File "C:\Users\brain\AppData\Local\Programs\Python\Python37\lib\site-packages\wandb\__init__.py", line 304, in _init_headless
"W&B process failed to launch, see: {}".format(path))
wandb.run_manager.LaunchError: W&B process failed to launch, see: wandb\debug.log
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
wandb: ERROR W&B process (PID 18228) did not respond (in ...
Weights and Biases version: 3.7.5; Python version: 0.8.29; Operating System: Windows. Description. I'm using wandb first time and I am ...
Read more >Agent bug? File not found error - W&B Help - WandB community
Hi I'm using kaggle with Pytorch and W&B Weights and Biases version: 0.12.11 Python version: 3.7.12 Description: When using the attached ...
Read more >pytorch lightning - W&B won't finish the process - Stack Overflow
I have several experiments to be run sequentially, and I call finish() at the end of each one. Also on W&B screen I...
Read more >https://huggingface.co/codistai/codeBERT-small-v2/...
725, "mb": 726, "Ġcli": 727, "Ġfil": 728, "bug": 729, "str": 730, "Ġlin": 731, "ted": 732, "Ġcount": 733, "ain": 734, "ument": 735, "Ġche": 736, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey there, thanks for reporting this— for anyone else who was encountering this issue, make sure you’re doing
wandb login
on the command line where you’re running your training script so that your machine is authenticated.@tumbleintoyourheart just quick sanity check, make sure you are logging by pasting your api (wandb login your_api_key_here). I was logging in without my api key and that’s when I got that error logs, after correctly logging everything is working as expected.