Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

TypeError: reduce() of empty sequence with no initial value

Open JessieMeng opened this issue 8 years ago • 1 comments

       while(i<video_feature.shape[0]):
                yield [video_feature[i][:-1]]+[int(video_feature[i][2048])]
               #print [video_feature[i][:-1]]+[int(video_feature[i][2048])]
               i+=1

data = paddle.layer.data("word",paddle.data_type.dense_vector_sequence(input_dim)) lbl = paddle.layer.data("label", paddle.data_type.integer_value(2))

JessieMeng avatar Jan 16 '18 02:01 JessieMeng

I am not sure what the problem is. Could you provide more information?

will-am avatar Jan 16 '18 04:01 will-am