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

how to solve Attribuite not found error SPPF #24

Open
03Anmol opened this issue Aug 29, 2023 · 0 comments
Open

how to solve Attribuite not found error SPPF #24

03Anmol opened this issue Aug 29, 2023 · 0 comments

Comments

@03Anmol
Copy link

03Anmol commented Aug 29, 2023

fatal: ambiguous argument 'main..origin/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'
github: Command 'git rev-list main..origin/master --count' returned non-zero exit status 128.
YOLOv5 3c53bca torch 2.0.1 CUDA:0 (NVIDIA GeForce GTX 1660 Ti, 6143.6875MB)

Namespace(adam=False, artifact_alias='latest', batch_size=16, bbox_interval=-1, bucket='', cache_images=False, cfg='cfg/yolov7-w6-pose_custom.yaml', data='data/custom_kpts.yaml', device='0', entity=None, epochs=600, evolve=False, exist_ok=False, global_rank=-1, hyp='data/hyp.pose.yaml', image_weights=False, img_size=[640, 640], kpt_label=True, label_smoothing=0.0, linear_lr=False, local_rank=-1, multi_scale=False, name='exp', noautoanchor=False, nosave=False, notest=False, project='runs/train', quad=False, rect=False, resume=False, save_dir='runs\train\exp4', save_period=-1, single_cls=False, sync_bn=False, total_batch_size=16, upload_dataset=False, weights='yolov5s.pt', workers=8, world_size=1)
tensorboard: Start with 'tensorboard --logdir runs/train', view at http://localhost:6006/
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, kpt=0.1, cls=0.6, cls_pw=1.0, obj=0.7, 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=0.0, mixup=0.0
Traceback (most recent call last):
File "train.py", line 568, in
train(hyp, opt, device, tb_writer)
File "train.py", line 71, in train
run_id = torch.load(weights).get('wandb_id') if weights.endswith('.pt') and os.path.isfile(weights) else None
File "C:\Users\MSI 1\anaconda3\envs\pose\lib\site-packages\torch\serialization.py", line 809, in load
return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)
File "C:\Users\MSI 1\anaconda3\envs\pose\lib\site-packages\torch\serialization.py", line 1172, in _load
result = unpickler.load()
File "C:\Users\MSI 1\anaconda3\envs\pose\lib\site-packages\torch\serialization.py", line 1165, in find_class
return super().find_class(mod_name, name)
AttributeError: Can't get attribute 'SPPF' on <module 'models.common' from 'E:\cyc_wraped_images\coco_dataset\JSON2YOLO\dataset2\YOLOv7-POSE-on-Custom-Dataset\models\common.py'>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant