-
-
Notifications
You must be signed in to change notification settings - Fork 15.9k
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
classify #9114
Comments
👋 Hello @pcb9382, 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://ultralytics.com or email support@ultralytics.com. RequirementsPython>=3.7.0 with all requirements.txt installed including PyTorch>=1.7. To get started: git clone https://github.com/ultralytics/yolov5 # clone
cd yolov5
pip install -r requirements.txt # install EnvironmentsYOLOv5 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):
StatusIf 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), validation (val.py), inference (detect.py) and export (export.py) on macOS, Windows, and Ubuntu every 24 hours and on every commit. |
@pcb9382 you can solve this by passing a project name like this
I'll push permanent fix for this |
@pcb9382 good news 😃! Your original issue may now be fixed ✅ in PR #9117 by @AyushExel. To receive this update:
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 🚀! |
Search before asking
Question
python3 classify/train.py --model yolov5s-cls.pt --data cifar100--epochs 5 --img 224 --batch 64
wandb: Currently logged in as: anony-mouse-317294. Use
wandb login --relogin` to force reloginclassify/train: model=yolov5s-cls.pt, data=mnist, epochs=5, batch_size=64, imgsz=224, nosave=False, cache=None, device=, workers=8, project=runs/train-cls, name=exp, exist_ok=False, pretrained=True, optimizer=Adam, lr0=0.001, decay=5e-05, label_smoothing=0.1, cutoff=None, dropout=None, verbose=False, seed=0, local_rank=-1
github: skipping check (not a git repository), for updates see https://github.com/ultralytics/yolov5
Python 3.7.0 required by YOLOv5, but Python 3.6.9 is currently installed
YOLOv5 🚀 2022-8-22 Python-3.6.9 torch-1.9.0+cu111 CUDA:0 (NVIDIA GeForce RTX 3060 Laptop GPU, 5938MiB)
TensorBoard: Start with 'tensorboard --logdir runs/train-cls', view at http://localhost:6006/
Traceback (most recent call last):
File "/home/pcb/.local/lib/python3.6/site-packages/wandb/sdk/wandb_init.py", line 996, in init
wi.setup(kwargs)
File "/home/pcb/.local/lib/python3.6/site-packages/wandb/sdk/wandb_init.py", line 251, in setup
settings._apply_init(kwargs)
File "/home/pcb/.local/lib/python3.6/site-packages/wandb/sdk/wandb_settings.py", line 1468, in _apply_init
self.update(init_settings, source=Source.INIT)
File "/home/pcb/.local/lib/python3.6/site-packages/wandb/sdk/wandb_settings.py", line 1176, in update
self.dict[key].update(value, source)
File "/home/pcb/.local/lib/python3.6/site-packages/wandb/sdk/wandb_settings.py", line 331, in update
self._value = self._validate(self._preprocess(value))
File "/home/pcb/.local/lib/python3.6/site-packages/wandb/sdk/wandb_settings.py", line 297, in _validate
f"Invalid value for property {self.name}: {value}"
ValueError: Invalid value for property project: runs/train-cls
wandb: ERROR Abnormal program exit
Traceback (most recent call last):
File "/home/pcb/.local/lib/python3.6/site-packages/wandb/sdk/wandb_init.py", line 996, in init
wi.setup(kwargs)
File "/home/pcb/.local/lib/python3.6/site-packages/wandb/sdk/wandb_init.py", line 251, in setup
settings._apply_init(kwargs)
File "/home/pcb/.local/lib/python3.6/site-packages/wandb/sdk/wandb_settings.py", line 1468, in _apply_init
self.update(init_settings, source=Source.INIT)
File "/home/pcb/.local/lib/python3.6/site-packages/wandb/sdk/wandb_settings.py", line 1176, in update
self.dict[key].update(value, source)
File "/home/pcb/.local/lib/python3.6/site-packages/wandb/sdk/wandb_settings.py", line 331, in update
self._value = self._validate(self._preprocess(value))
File "/home/pcb/.local/lib/python3.6/site-packages/wandb/sdk/wandb_settings.py", line 297, in _validate
f"Invalid value for property {self.name}: {value}"
ValueError: Invalid value for property project: runs/train-cls
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "classify/train.py", line 331, in
main(opt)
File "classify/train.py", line 317, in main
train(opt, device)
File "classify/train.py", line 71, in train
logger = GenericLogger(opt=opt, console_logger=LOGGER) if RANK in {-1, 0} else None
File "/home/pcb/yolov5-v6.2/utils/loggers/init.py", line 257, in init
config=opt)
File "/home/pcb/.local/lib/python3.6/site-packages/wandb/sdk/wandb_init.py", line 1037, in init
raise Exception("problem") from error_seen
Exception: problem
`
Additional
No response
The text was updated successfully, but these errors were encountered: