fudannlp16 / CWS_Dict

Source codes for paper "Neural Networks Incorporating Dictionaries for Chinese Word Segmentation", AAAI 2018
91 stars 32 forks source link

Converting sparse IndexedSlices to a dense Tensor of unknown shape #4

Closed GabrielLin closed 6 years ago

GabrielLin commented 6 years ago

I use Tensorflow 1.3.1. When I run train_dict.py. A warning has been shown:

/opt/anaconda2/envs/tf1p3py27/lib/python2.7/site-packages/tensorflow/python/ops/gradients_impl.py:95: UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory. "Converting sparse IndexedSlices to a dense Tensor of unknown shape. "

Do you have this situation?

fudannlp16 commented 6 years ago

Yes, you can ignore it.

GabrielLin commented 6 years ago

OK.