Sweep python agent hangs on Google Colab
See original GitHub issueSweep Python agent hangs on wandb.init() with following warning:
/usr/lib/python3.6/multiprocessing/semaphore_tracker.py:55: UserWarning: semaphore_tracker: process died unexpectedly, relaunching. Some semaphores might leak.
warnings.warn('semaphore_tracker: process died unexpectedly, '
debug.log:
2021-01-12 21:10:45,752 INFO Thread-17 :59 [wandb_setup.py:_flush():70] setting env: {'project': 'multimodal', 'entity': 'mm_magisterka', 'root_dir': '/content/deep-learning-video-recommendation', 'sweep_id': '8zwu6pqm', 'run_id': 'aenujn0n', 'config_paths': '/content/deep-learning-video-recommendation/wandb/sweep-8zwu6pqm/config-aenujn0n.yaml'}
2021-01-12 21:10:45,753 INFO Thread-17 :59 [wandb_setup.py:_flush():70] multiprocessing start_methods=fork,spawn,forkserver
2021-01-12 21:10:45,753 INFO Thread-17 :59 [wandb_setup.py:_flush():70] setting login settings: {}
2021-01-12 21:10:45,753 INFO Thread-17 :59 [wandb_init.py:_log_setup():303] Logging user logs to /content/deep-learning-video-recommendation/wandb/run-20210112_211045-aenujn0n/logs/debug.log
2021-01-12 21:10:45,753 INFO Thread-17 :59 [wandb_init.py:_log_setup():304] Logging internal logs to /content/deep-learning-video-recommendation/wandb/run-20210112_211045-aenujn0n/logs/debug-internal.log
2021-01-12 21:11:20,901 ERROR Thread-17 :59 [wandb_init.py:init():601] error
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/wandb/sdk/wandb_init.py", line 575, in init
run = wi.init()
File "/usr/local/lib/python3.6/dist-packages/wandb/sdk/wandb_init.py", line 411, in init
ret = backend.interface.communicate_run(run, timeout=30)
File "/usr/local/lib/python3.6/dist-packages/wandb/sdk/interface/interface.py", line 542, in communicate_run
return self._communicate_run(run, timeout=timeout)
File "/usr/local/lib/python3.6/dist-packages/wandb/sdk/interface/interface.py", line 533, in _communicate_run
resp = self._communicate(req, timeout=timeout)
File "/usr/local/lib/python3.6/dist-packages/wandb/sdk/interface/interface.py", line 447, in _communicate
return future.get(timeout)
File "/usr/local/lib/python3.6/dist-packages/wandb/sdk/interface/interface.py", line 63, in get
is_set = self._object_ready.wait(timeout)
File "/usr/lib/python3.6/threading.py", line 551, in wait
signaled = self._cond.wait(timeout)
File "/usr/lib/python3.6/threading.py", line 299, in wait
gotit = waiter.acquire(True, timeout)
Exception
Previously the same code was working. Are you facing some issues ?
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Sweep python agent hangs on Google Colab #1693 - GitHub
Sweep Python agent hangs on wandb.init() with following warning: /usr/lib/python3.6/multiprocessing/semaphore_tracker.py:55: UserWarning: ...
Read more >Google Colab hangs evaluating trivial cells - Stack Overflow
Quite frequently Google Colab gets hung up on extremely simple cells (stuff like setting variables or defining a function--not evaluating!)
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:
Read more >Organizing_Hyperparameter_Sw...
In this tutorial we'll see how you can run sophisticated hyperparameter sweeps in 3 easy steps using Weights and Biases. Follow along with...
Read more >How to Upload Project on GitHub from Google Colab?
Even if you have a GPU or a good computer creating a local environment with anaconda and installing packages and resolving installation issues ......
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 Free
Top 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

Working fine now. Ty
Sure