您好,我想问一下要如何进行训练和测试,我在各子目录里放完对应的图像后,运行train.py后报错是什么原因。
line 67, in train_net
imgs = np.array([i[0] for i in b]).astype(np.float32)
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (6, 3) + inhomogeneous part.
您好,我想问一下要如何进行训练和测试,我在各子目录里放完对应的图像后,运行train.py后报错是什么原因。 line 67, in train_net imgs = np.array([i[0] for i in b]).astype(np.float32) ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (6, 3) + inhomogeneous part.