Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Chilicyy committed Jan 6, 2023
1 parent a586d5a commit 7ebe4f2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,3 +237,8 @@ python tools/infer.py --weights yolov6s6.pt --img 1280 --source img.jpg / imgdir
</details>

### [FAQ(Continuously updated)](https://github.com/meituan/YOLOv6/wiki/FAQ%EF%BC%88Continuously-updated%EF%BC%89)

If you have any questions, welcome to join our WeChat group to discuss and exchange.
<p align="center">
<img src="assets/wechat_qrcode.png" align="middle" width = "1000" />
</p>
5 changes: 5 additions & 0 deletions README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,3 +213,8 @@ python tools/infer.py --weights yolov6s6.pt --img 1280 --source img.jpg / imgdir
</details>

### [FAQ(持续更新)](https://github.com/meituan/YOLOv6/wiki/FAQ%EF%BC%88Continuously-updated%EF%BC%89)

如果您有任何问题,欢迎加入我们的微信群一起讨论交流!
<p align="center">
<img src="assets/wechat_qrcode.png" align="middle" width = "1000" />
</p>
4 changes: 2 additions & 2 deletions yolov6/core/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ def __init__(self, args, cfg, device):
self.distill_ns = True if self.args.distill and self.cfg.model.type in ['YOLOv6n','YOLOv6s'] else False
model = self.get_model(args, cfg, self.num_classes, device)
if self.args.distill:
if self.args.fuse_ab and self.distill_ns:
LOGGER.error('ERROR in: Distill n/s models should turn off the fuse_ab.\n')
if self.args.fuse_ab:
LOGGER.error('ERROR in: Distill models should turn off the fuse_ab.\n')
exit()
self.teacher_model = self.get_teacher_model(args, cfg, self.num_classes, device)
if self.args.quant:
Expand Down

0 comments on commit 7ebe4f2

Please sign in to comment.