Transferred 354/362 items from weights/yolov5s.pt
Scaled weight_decay = 0.0005
Optimizer groups: 62 .bias, 62 conv.weight, 59 other
Traceback (most recent call last):
File "F:\Desktop\yolov5-5.0\train.py", line 543, in <module>
train(hyp, opt, device, tb_writer)
File "F:\Desktop\yolov5-5.0\train.py", line 189, in train
dataloader, dataset = create_dataloader(train_path, imgsz, batch_size, gs, opt,
File "F:\Desktop\yolov5-5.0\utils\datasets.py", line 63, in create_dataloader
dataset = LoadImagesAndLabels(path, imgsz, batch_size,
File "F:\Desktop\yolov5-5.0\utils\datasets.py", line 385, in __init__
cache, exists = torch.load(cache_path), True # load
File "D:\Anaconda3 2023.03-1\envs\pytorch\lib\site-packages\torch\serialization.py", line 815, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "D:\Anaconda3 2023.03-1\envs\pytorch\lib\site-packages\torch\serialization.py", line 1033, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: STACK_GLOBAL requires str