当前位置:网站首页>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')边栏推荐
- 2021.7.30 note index
- Nowcoder (5 choices)
- 使用jieba、pyhanlp工具实现关键字词句的提取
- [MIT 6.S081] Lab 4: traps
- MySQL learning day3 multi table query / transaction / DCL
- 阿里p8总结的10条 SQL 优化方案(非常实用)
- 2021.7.22笔记 约束
- 电动加热护颈枕芯片-DLTAP703SC
- Knowledge map - Jieba, pyhanlp, smoothnlp tools to realize Chinese word segmentation (part of speech)
- Use ETL tools for data migration in salesforce project
猜你喜欢

2021.7.17笔记 mysql其他命令

uniapp H5跨域问题

I was forced to optimize the API gateway query interface

2021.8.1笔记 DBA

The combination of text and words perfectly explains the implementation process of MySQL logical backup

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

2021.7.22 note constraints

阿里架构师耗时280个小时整理的1015页分布式全栈小册,轻松入手分布式系统

USB充电式暖手宝芯片-DLTAP602SC-杰力科创

2021.7.18 notes MySQL data type
随机推荐
MySQL学习 Day2 排序查询 / 聚合函数 /分组查询 /分页查询 /约束/多表之间的关系
Let's move forward together, the 10th anniversary of Google play!
微信小程序多文件上传
MySQL learning Day1 DDL, DML, DQL basic query
Must the MySQL query column be consistent with the group by field?
[MIT 6.S081] Lab8: locks
微信小程序获取手机号
Vue uses keep alive to realize page caching
搭建一个简单的知识问答系统
Using Jieba and pyhanlp tools to extract keyword words and sentences
JS to achieve smooth scrolling of pages or DOM elements
电动加热护颈枕芯片-DLTAP703SC
MySQL learns the relationship between Day2 Sorting Query / aggregation function / grouping query / paging query / constraint / multiple tables
The second parameter of fragmenttransaction.replace reports an error
JS tool - Cookie simple encapsulation
Quick access to website media resources
[MIT 6.S081] Lab 5: xv6 lazy page allocation
Solution to invalid SQL Server connection to server
2021.8.9笔记 request
你有没有在MySQL的order by上栽过跟头