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

ValueError: API key must be 40 characters long, yours was 1 #1777

Closed
zhangsong1213 opened this issue Dec 25, 2020 · 12 comments
Closed

ValueError: API key must be 40 characters long, yours was 1 #1777

zhangsong1213 opened this issue Dec 25, 2020 · 12 comments
Labels
bug Something isn't working Stale

Comments

@zhangsong1213
Copy link

when i run !wandb login
i got ValueError: API key must be 40 characters long, yours was 1
image

@zhangsong1213 zhangsong1213 added the bug Something isn't working label Dec 25, 2020
@github-actions
Copy link
Contributor

github-actions bot commented Dec 25, 2020

Hello @zhangsong1213, thank you for your interest in 🚀 YOLOv5! Please visit our ⭐️ Tutorials to get started, where you can find quickstart guides for simple tasks like Custom Data Training all the way to advanced concepts like Hyperparameter Evolution.

If this is a 🐛 Bug Report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you.

If this is a custom training ❓ Question, please provide as much information as possible, including dataset images, training logs, screenshots, and a public link to online W&B logging if available.

For business inquiries or professional support requests please visit https://www.ultralytics.com or email Glenn Jocher at glenn.jocher@ultralytics.com.

Requirements

Python 3.8 or later with all requirements.txt dependencies installed, including torch>=1.7. To install run:

$ pip install -r requirements.txt

Environments

YOLOv5 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):

Status

CI CPU testing

If this badge is green, all YOLOv5 GitHub Actions Continuous Integration (CI) tests are currently passing. CI tests verify correct operation of YOLOv5 training (train.py), testing (test.py), inference (detect.py) and export (export.py) on MacOS, Windows, and Ubuntu every 24 hours and on every commit.

@glenn-jocher
Copy link
Member

@zhangsong1213 you can copy and paste from the login site provided by wandb login command. CTRL+V to paste the API key, which should be 40 characters as the message says.

@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Jan 25, 2021
@SebaSilvaS
Copy link

@zhangsong1213 you can copy and paste from the login site provided by wandb login command. CTRL+V to paste the API key, which should be 40 characters as the message says.

Hello, I am also having troubles with wandb logging. CTRL + V does not work, I can not write by hand either. It is not receiving any input at all.
In my particular case I'm running it from the command prompt on Windows 10. I made sure to download the last version of yolov5 (few hours ago).

@github-actions github-actions bot removed the Stale label Jan 27, 2021
@dada1437903138
Copy link

@zhangsong1213 you can copy and paste from the login site provided by wandb login command. CTRL+V to paste the API key, which should be 40 characters as the message says.

Hello, I am also having troubles with wandb logging. CTRL + V does not work, I can not write by hand either. It is not receiving any input at all.
In my particular case I'm running it from the command prompt on Windows 10. I made sure to download the last version of yolov5 (few hours ago).

I have met the same problem bro,have you solved it?

@SebaSilvaS
Copy link

I have met the same problem bro,have you solved it?

@dada1437903138 Yes! It seems that just right-clicking pastes the code. Copy code, right-click and hit enter. That worked for me :D

@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@sankadivandya
Copy link

sankadivandya commented Dec 30, 2022

I have met the same problem bro,have you solved it?

@dada1437903138 Yes! It seems that just right-clicking pastes the code. Copy code, right-click and hit enter. That worked for me :D

Thank you!!! I was going crazy... :D

@jiandanhaoba
Copy link

你的可以吗,我的还是不行呢?

@jiandanhaoba
Copy link

手动输入了40个字符 成功了。。。哭死我

@sunhuihang
Copy link

手动输入了40个字符 成功了。。。哭死我

shift + insert

@glenn-jocher
Copy link
Member

@sunhuihang glad to hear that you were able to resolve the issue by manually entering the 40-character API key. Sometimes, certain keyboards or terminal emulators may not properly support keyboard shortcuts like CTRL + V. Another alternative is to use the "shift + insert" shortcut to paste the code. If you encounter any further issues or have any other questions, feel free to ask. Happy coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

7 participants