You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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..
The text was updated successfully, but these errors were encountered:
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..
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..
The text was updated successfully, but these errors were encountered: