Closed Balabala0792 closed 2 years ago
Maybe you are using a different python version. Just do a string concatenation
entity_r_file = emb_dir + "/entities_r.p"
Ok,thank you. Could you please tell me which python version you are using?
Unfortunately, I do not remember as it was a very long time ago since I last worked on this. Try 2.7 and 3.9 maybe.
ok, thank you so much
Hi there, I found that when I loaded pretrained embeddings from Complex model , there is a mistake that "unsupported operand type(s) for / : 'str' and 'str' " And the corresponding code is "entity_r_file = emb_dir / "entities_r.p" " Hope you can help me.