Find Jobs
Hire Freelancers

Keras categorical_crossentropy Grouping Issue

$10-30 USD

已完成
已发布超过 4 年前

$10-30 USD

货到付款
I am working on a convolution neural network for Dogs Cats, Lizards and I have two variables / numpy arrays ( I want this to run as a categorical_crossentropy) 1. ImagePixels 2. ImageGrouping But when I run this line in jupyter notebook [login to view URL](ImagePixels, ImageGrouping, batch_size=32, epochs=100, validation_split=0.2) I get the following error ValueError: A target array with shape (21356, 3) was passed for an output of shape (None, 1) while using as loss `categorical_crossentropy`. This loss expects targets to have the same shape as the output I dont quite understand this error I have already run this line from [login to view URL] import np_utils ImageGrouping=np_utils.to_categorical(ImageGrouping) Witch I thought would have gotten the data into the format wanted.
项目 ID: 23501234

关于此项目

2提案
远程项目
活跃4 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Hello there, I am a machine learning engineer proficient in Python and Keras. I am familiar with this error and can resolve it quickly. Please message me to discuss. Regards, Amit R
$35 USD 在1天之内
5.0 (3条评论)
2.7
2.7
2威客以平均价$28 USD来参与此工作竞价
用户头像
I am a Machine learning expert. Language : ----- C++, C#, Python, Qt, Matlab, Java----- Skill : Machine learning, Deep learning Image processing(OpenCV, OpenGL...) Video codec processing(H264/265, Mpeg4, YUY2...) Database(MySQL, Access, Excel, MSSQL...) Project reversing, Multi-threading, System management
$20 USD 在7天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
laveen, United States
4.7
49
付款方式已验证
会员自10月 3, 2017起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。