Open YuxuanJiang1 opened 5 years ago
The same question. Did you solve it?
Has successfully installed requirements, but get errors when going word-embedding as follow;
glyce_embedding = CharGlyceEmbedding(glyce_config) File "/home/jyx/projects/glyce/glyce/layers/char_glyph_embedding.py", line 65, in init self.char_embedding = nn.Embedding(len(self.config.idx2char), self.config.char_embsize) # (4452, 13, 13) TypeError: object of type 'NoneType' has no len() so what'd the prob..
did You sovle it?
same problem
Has successfully installed requirements, but get errors when going word-embedding as follow;
glyce_embedding = CharGlyceEmbedding(glyce_config) File "/home/jyx/projects/glyce/glyce/layers/char_glyph_embedding.py", line 65, in init self.char_embedding = nn.Embedding(len(self.config.idx2char), self.config.char_embsize) # (4452, 13, 13) TypeError: object of type 'NoneType' has no len() so what'd the prob..