HKUST-KnowComp / MNE

Source Code for IJCAI 2018 paper "Scalable Multiplex Network Embedding"
75 stars 25 forks source link

RuntimeWarning: overflow encountered in add #29

Closed hl8086 closed 3 years ago

hl8086 commented 3 years ago

When use the dataset of C.ELEGANAS to train the model, i encounter the RuntimeWarning in MNE.py.

"RuntimeWarning: overflow encountered in add model.in_local[context_index] += (1-base_weight)dot(neu1e lock_factor, model.in_tran.T)"

how can i fix it?