Tencent / NeuralNLP-NeuralClassifier

An Open-source Neural Hierarchical Multi-label Text Classification Toolkit
Other
1.83k stars 402 forks source link

EmbeddingBag layer outputs nan #77

Closed amsturdy closed 3 years ago

amsturdy commented 3 years ago

It looks like some weights become nan. Is there someone know how to solve it? The version of pytorch is 1.2.0

coderbyr commented 3 years ago

Please describe more detail about your problem, such as config file, model_type.