-
-
Notifications
You must be signed in to change notification settings - Fork 15.8k
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
Unable to provide Wandb API in Kaggle Kernel #2362
Comments
I think we should have an argument to disable wandb from command line or pass in the API key... I sometimes find it inconvenient if I have to spawn multiple trainings in containers.. For example, |
@AyushExel I think this might be the same issue #1372 I reported in December with wandb and Kaggle. |
yes. |
Try this
|
Gave above errorBackendError Traceback (most recent call last) ~/.local/lib/python3.7/site-packages/kaggle_secrets.py in get_secret(self, label) ~/.local/lib/python3.7/site-packages/kaggle_web_client.py in make_post_request(self, data, endpoint, timeout) BackendError: Unexpected response from the service. Response: {'errors': ['No user secrets exist for kernel id 151xxxx9 and label c629bfxxxxxxxx1'], 'error': {'code': 5, 'details': []}, 'wasSuccessful': False}. |
@joyjeni The issue occurs because you cannot directly copy a secret in kaggle console. Here the workaround is to save the API key as a kaggle secret. Now if you run the previous snippet, you should be able to log in |
Thankyou it works |
@glenn-jocher I found an easier fix for this that'll work out of the box.
I have tested this and it works fine on Kaggle Kernels |
@AyushExel excellent, I'll update the Colab and Kaggle notebook! |
@joyjeni @AyushExel good news 😃! Your original issue may now been fixed ✅ in 9b91db6. To receive this update you can:
Thank you for spotting this issue and informing us of the problem. Please let us know if this update resolves the issue for you, and feel free to inform us of any other issues you discover or feature requests that come to mind. Happy trainings with YOLOv5 🚀! |
❔Cannot enter kaggle kernel edit mode
When I train Yolo V5 using Kaggle kernel I m unable to paste wandb API key in Kaggle Kernel. How to be in Console edit mode
There was no option to paste api key. Looks like I m not in edit mode.How to enable edit mode inside Kaggle kernel.
![image] (https://i.imgur.com/4cDrffU.png)
Additional context
The text was updated successfully, but these errors were encountered: