惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Visual Studio Blog
I
InfoQ
H
Help Net Security
GbyAI
GbyAI
博客园 - 叶小钗
Recent Announcements
Recent Announcements
Engineering at Meta
Engineering at Meta
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
爱范儿
爱范儿
Y
Y Combinator Blog
L
LangChain Blog
腾讯CDC
酷 壳 – CoolShell
酷 壳 – CoolShell
WordPress大学
WordPress大学
Stack Overflow Blog
Stack Overflow Blog
F
Fortinet All Blogs
G
Google Developers Blog
Apple Machine Learning Research
Apple Machine Learning Research
The GitHub Blog
The GitHub Blog
T
The Blog of Author Tim Ferriss
博客园 - Franky
D
Docker
Jina AI
Jina AI
罗磊的独立博客

博客园 - sinxsoft

AttributeError: module 'numpy' has no attribute 'int'. 非root账号,要写入特定文件夹的处理措施 Docker 运行你的Springboot应用。 阿里巴巴中间件团队出品的开源软件以及商业云服务(转) storm 配置,呵呵。 dubbo+zookeeper集群配置 zookeeper分布式部署-mac先测试 tomcat8和7关于自定义tag的处理区别 每个程序员都必读的10篇文章 Java 之ThreadLocal 对应C#之ThreadStatic eclipse 引用项目(转) 债券发行价格招标和收益率招标:需要搞定 IIS之应用程序池-Web园-最大工作进程>1时系统出现问题 研究jBPM和NetBPM 研究:Microsoft Solution Framework SCRUM迭代增量式软件开发过程研究 多说多做多想。 架构师培训笔记: 从今天开始,向注册会计师进军。
loss.py:result type Float can't be cast to the desir...
sinxsoft · 2023-03-13 · via 博客园 - sinxsoft

Epoch gpu_mem box obj cls labels img_size 0%| | 0/1 [00:01 main(opt) File "/home/data/yolov5-6.1/train.py", line 539, in main train(opt.hyp, opt, device, callbacks) File "/home/data/yolov5-6.1/train.py", line 331, in train loss, loss_items = compute_loss(pred, targets.to(device)) # loss scaled by batch_size File "/home/data/yolov5-6.1/utils/loss.py", line 120, in __call__ tcls, tbox, indices, anchors = self.build_targets(p, targets) # targets File "/home/data/yolov5-6.1/utils/loss.py", line 217, in build_targets indices.append((b, a, gj.clamp_(0, gain[3] - 1), gi.clamp_(0, gain[2] - 1))) # image, anchor, grid indices RuntimeError: result type Float can't be cast to the desired output type long int 处理方式:https://blog.csdn.net/Thebest_jack/article/details/125649451

posted on 2023-03-13 12:28  sinxsoft  阅读(1077)  评论()    收藏  举报