fairseq
fairseq copied to clipboard
NameError: name 'BertEmbeddings' is not defined
🐛 Bug
Meet BertEmbedding not defined bug
To Reproduce
Use this colab to repro https://colab.research.google.com/drive/1jnF0XTF12cB1pV5OUH_-jscMIJQDmKa1?usp=sharing
Code sample
Expected behavior
I need to run this code in https://github.com/facebookresearch/fairseq/tree/main/examples/MMPT as guided described
Environment
Additional context
I have a similar problem with you. Have you resolved it?
same problems here, was trying to use VideoCLIP and followed the readme in MMPT, and got the same error. would anyone give some advice? update: seems someone else provided a solution: https://github.com/facebookresearch/fairseq/issues/4347#issuecomment-1436478785
这是来自黄彦浩的自动回复邮件。你好,你的邮件我已经收到
Hi, this problem can be addressed by changing the following lines
I have applied some fix here :
https://github.com/MarkChenYutian/fairseq_SpaceQADepend/commit/8f0926631554933cfa899acec4f1184f4b4ac581
这是来自黄彦浩的自动回复邮件。你好,你的邮件我已经收到