yolact-pytorch icon indicating copy to clipboard operation
yolact-pytorch copied to clipboard

训练自己的数据集出现以下问题,(用eiseg生成的JSON文件进行coco_annotation)

Open yang8050 opened this issue 1 year ago • 5 comments

ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (6,) + inhomogeneous part.

yang8050 avatar Mar 04 '24 02:03 yang8050

问题已解决,但是预测时不仅精度低速度也很慢

yang8050 avatar Mar 05 '24 02:03 yang8050

how did you solve it?

Hamoonyousefi avatar Mar 06 '24 00:03 Hamoonyousefi

哥们你咋解决的

ZzMLvzZ-792998470 avatar Mar 06 '24 14:03 ZzMLvzZ-792998470

应该是误触键盘了,重新获取了一下代码

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2024年03月06日 22:14 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [bubbliiiing/yolact-pytorch] 训练自己的数据集出现以下问题,(用eiseg生成的JSON文件进行coco_annotation) (Issue #23) |

哥们你咋解决的

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

yang8050 avatar Mar 06 '24 14:03 yang8050

File "mtrand.pyx", line 920, in numpy.random.mtrand.RandomState.choice ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (6,) + inhomogeneous part. 请问怎么解决的,我也有同样的问题

dyhisbig avatar Apr 12 '24 01:04 dyhisbig