kcct-fujimotolab / 3DCNN

3D convolutional neural network for video classification
270 stars 107 forks source link

transpose order error #23

Open amberyic opened 3 years ago

amberyic commented 3 years ago

code in https://github.com/kcct-fujimotolab/3DCNN/blob/master/3dcnn.py function in loaddata()

if color: return np.array(X).transpose((0, 2, 3, 4, 1)), labels else: return np.array(X).transpose((0, 2, 3, 1)), labels

when the color is True

if color: return np.array(X).transpose((0, 2, 3, 1, 4)), labels else: return np.array(X).transpose((0, 2, 3, 1)), labels