weixin_44425748
cx嘎嘎
2021-01-20 21:30

求助 'Namespace' object has no attribute 'logdir'

  • python

报的错:

Traceback (most recent call last):
  File "E:/chenxin/yolo/yolov5-3.1/train.py", line 491, in <module>
    log_dir = increment_dir(Path(opt.logdir) / 'exp', opt.name)  # runs/exp1
AttributeError: 'Namespace' object has no attribute 'logdir'

代码部分:

 

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答