Closed oewi closed 1 year ago
solved
the error is raised because it fails to get source file from the object(<function __create_fn..init__ at 0x7fda58ad08b0>), which is the instance of the module(<module 'examples.data2vec.models.modalities.audio' from '/fairseq/examples/data2vec/models/modalities/audio.py'>)
hello, how could you be sure fn is for examples.data2vec.models.modalities.audio ? and add path to where ? thanks
❓ Questions and Help
Before asking:
What is your question?
tried to convert data2vec2 model with torch.jit.script but got the following error
the error is raised because it fails to get source file from the object(<function __createfn__..__init_\ at 0x7fda58ad08b0>), which is the instance of the module(<module 'examples.data2vec.models.modalities.audio' from '/fairseq/examples/data2vec/models/modalities/audio.py'>)
so i just directly give the correct path, but got another error
any idea? Thank you for the help
What's your environment?
pip
, source): pip