D:\anaconda3\envs\pytorch\python.exe train.py --cfg qiqiu.yaml --epoch 10 --batch-size 2 --device cpu
PS D:\deep_learning\yolov5-master> D:\anaconda3\envs\pytorch\python.exe train.py --cfg qiqiu.yaml --epoch 10 --batch-size 2 --device cpu
train: weights=yolov5s.pt, cfg=qiqiu.yaml, data=data\coco128.yaml, hyp=data\hyps\hyp.scratch-low.yaml, epochs=10, batch_size=2, imgsz=640, rect=False, resu
me=False, nosave=False, noval=False, noautoanchor=False, noplots=False, evolve=None, evolve_population=data\hyps, resume_evolve=None, bucket=, cache=None,
image_weights=False, device=cpu, multi_scale=False, single_cls=False, optimizer=SGD, sync_bn=False, workers=8, project=runs\train, name=exp, exist_ok=False
, quad=False, cos_lr=False, label_smoothing=0.0, patience=100, freeze=[0], save_period=-1, seed=0, local_rank=-1, entity=None, upload_dataset=False, bbox_i
nterval=-1, artifact_alias=latest, ndjson_console=False, ndjson_file=False
github: skipping check (not a git repository), for updates see https://github.com/ultralytics/yolov5
YOLOv5 2024-1-7 Python-3.8.0 torch-2.1.2 CPU
hyperparameters: lr0=0.01, lrf=0.01, momentum=0.937, weight_decay=0.0005, warmup_epochs=3.0, warmup_momentum=0.8, warmup_bias_lr=0.1, box=0.05, cls=0.5, cl
s_pw=1.0, obj=1.0, obj_pw=1.0, iou_t=0.2, anchor_t=4.0, fl_gamma=0.0, hsv_h=0.015, hsv_s=0.7, hsv_v=0.4, degrees=0.0, translate=0.1, scale=0.5, shear=0.0,
perspective=0.0, flipud=0.0, fliplr=0.5, mosaic=1.0, mixup=0.0, copy_paste=0.0
TensorBoard: Start with 'tensorboard --logdir runs\train', view at http://localhost:6006/
COMET WARNING: Comet credentials have not been set. Comet will default to offline logging. Please set your credentials to enable online logging.
COMET INFO: Using 'D:\\deep_learning\\yolov5-master\\.cometml-runs' path as offline directory. Pass 'offline_directory' parameter into constructor or set t
he 'COMET_OFFLINE_DIRECTORY' environment variable to manually choose where to store offline experiment archives.
COMET WARNING: Native output logging mode is not available, falling back to basic output logging
COMET ERROR: CUDA_VISIBLE_DEVICES contains value of invalid or unsupported format: -1
COMET ERROR: Invalid device identifier. Next identifiers won't be parsed.
Traceback (most recent call last):
File "train.py", line 771, in <module>
main(opt)
File "train.py", line 559, in main
train(opt.hyp, opt, device, callbacks)
File "train.py", line 107, in train
loggers = Loggers(
File "D:\deep_learning\yolov5-master\utils\loggers\__init__.py", line 143, in __init__
self.comet_logger = CometLogger(self.opt, self.hyp)
File "D:\deep_learning\yolov5-master\utils\loggers\comet\__init__.py", line 98, in __init__
self.data_dict = self.check_dataset(self.opt.data)
File "D:\deep_learning\yolov5-master\utils\loggers\comet\__init__.py", line 233, in check_dataset
data_config = yaml.safe_load(f)
File "D:\anaconda3\envs\pytorch\lib\site-packages\yaml\__init__.py", line 125, in safe_load
return load(stream, SafeLoader)
File "D:\anaconda3\envs\pytorch\lib\site-packages\yaml\__init__.py", line 79, in load
loader = Loader(stream)
File "D:\anaconda3\envs\pytorch\lib\site-packages\yaml\loader.py", line 34, in __init__
Reader.__init__(self, stream)
File "D:\anaconda3\envs\pytorch\lib\site-packages\yaml\reader.py", line 85, in __init__
self.determine_encoding()
File "D:\anaconda3\envs\pytorch\lib\site-packages\yaml\reader.py", line 124, in determine_encoding
self.update_raw()
File "D:\anaconda3\envs\pytorch\lib\site-packages\yaml\reader.py", line 178, in update_raw
data = self.stream.read(size)
UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 234: illegal multibyte sequence
COMET INFO: Couldn't find a Git repository in 'D:\\deep_learning\\yolov5-master' nor in any parent directory. Set `COMET_GIT_DIRECTORY` if your Git Reposit
ory is elsewhere.
COMET WARNING: Error exporting current conda environment
COMET INFO: ---------------------------------------------------------------------------------------
COMET INFO: Comet.ml OfflineExperiment Summary
COMET INFO: ---------------------------------------------------------------------------------------
COMET INFO: Data:
COMET INFO: display_summary_level : 1
COMET INFO: url : [OfflineExperiment will get URL after upload]
COMET INFO: Others:
COMET INFO: Name : exp
COMET INFO: offline_experiment : True
COMET INFO: Uploads:
COMET INFO: conda-info : 1
COMET INFO: conda-specification : 1
COMET INFO: environment details : 1
COMET INFO: installed packages : 1
COMET INFO:
COMET INFO: Still saving offline stats to messages file before program termination (may take up to 120 seconds)
COMET INFO: Starting saving the offline archive
COMET INFO: To upload this offline experiment, run:
comet upload D:\deep_learning\yolov5-master\.cometml-runs\37884ff5327242f8b0381c443d80a0f5.zip