dyhisbig
dyhisbig
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,) +...

左边是博主的json文件,右边是我的json文件,整体内容还是一样的,不知道是不是labelme版本不一样导致的
应该不是数据集的问题,我下载了shapes数据集博主网盘的数据集,还是会出现上述错误
mode = random.choice(self.sample_options) 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...