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

python train.py --data slide.yaml --cfg configs/transformer/yolov5s_swinv2_head.yaml #170

Open
zcswdt opened this issue Feb 21, 2023 · 0 comments

Comments

@zcswdt
Copy link

zcswdt commented Feb 21, 2023

Traceback (most recent call last):
File "train.py", line 695, in
main(opt)
File "train.py", line 591, in main
train(opt.hyp, opt, device, callbacks)
File "train.py", line 126, in train
model = Model(cfg or ckpt['model'].yaml, ch=3, nc=nc, anchors=hyp.get('anchors')).to(device) # create
File "/remote-home/2210975/project/yoloair/models/yolo.py", line 106, in init
self.model, self.save = parse_model(deepcopy(self.yaml), ch=[ch]) # model, savelist
File "/remote-home/2210975/project/yoloair/models/yolo.py", line 341, in parse_model
m = eval(m) if isinstance(m, str) else m # eval strings
File "", line 1, in
NameError: name 'GAM_Attention' is not defined

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