Week 2Assignment: Emojify

Hello everyone,
Can someone please let me know why I’d be getting this error message in Wk2 assignment 2? I’ve tried many a things and going by instructions nothing seems to be working here for me :frowning:
I’ve tried taking simple average as well as np.divide but to no avail.

ValueError: operands could not be broadcast together with shapes (50,) (2,) (50,)

Any support would be highly appreciate…
Regards…
Ankit S Kaushik

Solved by using
np.zeros(word_to_vec_map[any_word].shape)

and then dividing by count