gupta-abhay/pytorch-vit

ModuleNotFoundError: No module named 'Transformer'

czgg opened this issue · 2 comments

czgg commented
ModuleNotFoundError: No module named 'Transformer'

Can you give a few more details as to where the bug is occurring?

No description provided.

Replace 'from Transformer import TransformerModel' with 'from .Transformer import TransformerModel'

Same Solution for all the similar problems

Relative Path instead of Absolute Path here