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

I'm a researcher of Tencent. When I use the latest version of win10, the following errors must appear. I sincerely hope that the reason is not correct #2205

Closed
xianglei3 opened this issue Feb 13, 2021 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@xianglei3
Copy link

the error is :
Model' object has no attribute 'yaml'

The relevant code is
if pretrained:
with torch_distributed_zero_first(rank):
attempt_download(weights) # download if not found locally
ckpt = torch.load(weights, map_location=device) # load checkpoint
if hyp.get('anchors'):
ckpt['model'].yaml['anchors'] = round(hyp['anchors']) # force autoanchor

@xianglei3 xianglei3 added the bug Something isn't working label Feb 13, 2021
@glenn-jocher glenn-jocher added the duplicate This issue or pull request already exists label Feb 13, 2021
@glenn-jocher
Copy link
Member

@xianglei3 see #2203 for a reply to your original question and lets continue the conversion there. Closing this issue as duplicate.

In regards to your windows question, YOLOv5 is tested every 24 hours on all the main operating systems including windows. See status message below.

Status

CI CPU testing

If this badge is green, all YOLOv5 GitHub Actions Continuous Integration (CI) tests are passing. These tests evaluate proper operation of basic YOLOv5 functionality, including training (train.py), testing (test.py), inference (detect.py) and export (export.py) on MacOS, Windows, and Ubuntu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants