nitishsrivastava / deepnet

Implementation of some deep learning algorithms.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ValueError: array is not broadcastable to correct shape

eunjilee opened this issue · comments

In multimodal dbn example, I got the error message like this..

Inferring missing text
Writing to /home/data/flickr/dbn_reps/generated_text/validation
Collecting all representations
Traceback (most recent call last):
File "collect_dbn_reps.py", line 138, in
main()
File "collect_dbn_reps.py", line 82, in main
data = Merge(data_nnz, data_z, nnz_indices, z_indices, text_pb_z.prefix, text_hidden1_pb.prefix, 'text_hidden1', output_file)
File "collect_dbn_reps.py", line 125, in Merge
data[indices_nnz] = data_nnz
ValueError: array is not broadcastable to correct shape

Any idea? Thanks.

commented

hi, have you solved this problem ,i have the same promblem