nitishsrivastava / deepnet

Implementation of some deep learning algorithms.
BSD 3-Clause "New" or "Revised" License
893 stars 438 forks source link

ValueError: array is not broadcastable to correct shape #86

Open eunjilee opened 8 years ago

eunjilee commented 8 years ago

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.

Qiyu815 commented 5 years ago

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