当前位置:网站首页>ValueError: Found input variables with inconsistent numbers of samples: [80019456, 26673152]【报错】
ValueError: Found input variables with inconsistent numbers of samples: [80019456, 26673152]【报错】
2022-07-27 16:16:00 【太简单了】
解决方法
小炸鸡钟熊的博客_CSDN博客-python,tensorflow,算法工程师领域博主小炸鸡钟熊擅长python,tensorflow,算法工程师,等方面的知识,小炸鸡钟熊关注nlp领域.https://blog.csdn.net/weixin_38648232/上面博客指出,这是标签和测试图片长度不一致导致的,从这个角度出发,检查标签和测试图的输入。我的程序是发现了做分割比对的真值图与其他数据集相比做成了三个通道的,从报错也可以看出标签多出了三倍,这里将做的真值图转化成灰度图解决bug。
target = Image.open(‘写待读取图像地址’).convert('L')边栏推荐
- [mit 6.s081] LEC 3: OS organization and system calls notes
- Binary tree concept
- Commonly used built-in methods of mybtis plus
- 2021.7.22 note constraints
- 微信小程序微信支付概述
- Class not found: "the com.parkmanagement.dao.daotest test cannot find the test class
- 浴室带除雾化妆镜触摸芯片-DLT8T10S
- Labels such as {@code}, {@link} and < P > in the notes
- LED学习护眼台灯触摸芯片-DLT8T10S-杰力科创
- 2021.7.31笔记 视图
猜你喜欢

Complete set of machine learning classification task effect evaluation indicators (including ROC and AUC)

2021.7.18笔记 mysql数据类型

Quick access to website media resources

浴室带除雾化妆镜触摸芯片-DLT8T10S

这样的API网关查询接口优化,我是被迫的

Knowledge map pyhanlp realizes named body recognition (with named body recognition code)

20000 words + 30 pictures | what's the use of chatting about MySQL undo log, redo log and binlog?

2021.7.31 note view

2021.7.19笔记 DML

mysql基础语句
随机推荐
输入框blur事件与click事件冲突问题
JS tool - Cookie simple encapsulation
Complete set of machine learning classification task effect evaluation indicators (including ROC and AUC)
[MIT 6.S081] Lab 3: page tables
MySQL学习 Day1 DDL、DML、DQL基础查询
2021.7.19 notes DML
Basic operations of MySQL view
LED学习护眼台灯触摸芯片-DLT8T10S-杰力科创
10 SQL optimization schemes summarized by Alibaba P8 (very practical)
JDBC学习 Day1:JDBC
[mit 6.s081] LEC 9: interrupts notes
Nowcoder (5 choices)
20000 words + 30 pictures | what's the use of chatting about MySQL undo log, redo log and binlog?
2 万字 + 30 张图 | 细聊 MySQL undo log、redo log、binlog 有什么用?
修改input中placeholder样式
Login page tablelayout
Log4j 史诗级漏洞,京东这样的大厂都中招了
The second parameter of fragmenttransaction.replace reports an error
JS to achieve smooth scrolling of pages or DOM elements
知识图谱 — pyhanlp实现命名体识别(附命名体识别代码)