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

got10K训练到一半时报错

Open jiaqinxu opened this issue 3 years ago • 2 comments

再用got10K训练到11个epoch的时候,出现了opencv中torgb的错误,可以告诉我是数据集的哪里出了问题吗

jiaqinxu avatar Apr 06 '21 09:04 jiaqinxu

您好,请问您运行train.py文件没有报错吗AttributeError: 'NoneType' object has no attribute 'shape'

没报错,你可以检查一下你的数据集

jiaqinxu avatar Apr 07 '21 06:04 jiaqinxu

这个问题不知道你解决了没,因为数据集里是有问题的,我在读取randz和randx的时候写了一个try with,如果不能处理就让他再rand一次,这样就可以了,不存在运气差到连续两次都取没用数据的情况吧

在 2021-04-07 14:41:21,"lc0716" @.***> 写道:

您好,请问您运行train.py文件没有报错吗AttributeError: 'NoneType' object has no attribute 'shape'

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jiaqinxu avatar Apr 24 '21 10:04 jiaqinxu