YOLOv5 开始训练时卡住不动了Transferred 548/613 items from /root/autodl-tmp/yolov5l.pt

1、问题
YOLOv5 训练时卡住不动了
Transferred 548/613 items from /root/autodl-tmp/yolov5l.pt
在这里插入图片描述
2、解决方案
其实开始训练时,YOLOv5会用外网的一张图片进行测试,如果你本地没有这张图片,它就是会请求外网测试,只有测试完,才会显示测试通过,否则就一直卡着。
在这里插入图片描述
方案一:查看一下自己是否删了测试图片,如果删了,放回去就好了
yolov5-master/data/images/bus.jpg
请添加图片描述
方案二:从源头搞定
打开yolov5-master/utils路径下的general.py文件
在这里插入图片描述
将注释那一句替换原来的句子


    im = f if f.exists() else 'https://ultralytics.com/images/bus.jpg' if False else np.ones((640, 640, 3))

不需要chek_online()

  • 14
    点赞
  • 18
    收藏
    觉得还不错? 一键收藏
  • 10
    评论
Introduction Security is defined as “No unauthorized Access of information”. Security is very essential to maintain the integrity of System [1,2]. Security Testing is the first step to detect flaws in the security measures of System [3,4]. Security of System can be measured by following criteria: 1. Confidentiality: It defines certain rules and constraints to access any important information 2. Integrity: Integrity means correctness of information. If the integrity of information is reserved then quality of information will definitely increased. 3. Authentication: Authentication is the process of identifying identity of Person. This process is commonly done through username and password. 4. Authorization: Authorization means access rights. Access Rights means whether user can read, write, and execute the file or whether he has right to access the resource or not. 5. Non-repudiation: In reference to digital security, nonrepudiation means to ensure that a transferred message has been sent by correct sender and received by correct receiver. This is done mainly through digital certificates to ensure integrity of sender and receiver. Security testing terminologies 1. Unit Testing: Testing is the strategy to detect faults in the System. Unit testing means testing each line in a component or modules. 2. Functional Testing: Functional Testing is used to measure the quality of functional components of System. 3. System Testing: System Testing is used to measure the effectiveness and efficiency of whole System within real world constraints.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 10
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值