yelusaleng / RRU-Net

Official repository for "RRU-Net: The Ringed Residual U-Net for Image Splicing Forgery Detection" (CVPRW 2019)
106 stars 17 forks source link

bug #36

Closed chaukiching closed 1 year ago

chaukiching commented 1 year ago

您好,我想问一下要如何进行训练和测试,我在各子目录里放完对应的图像后,运行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.