Hi, In implementing class BertAdapter(nn.Module): , I am getting the following error:
File “/Users/ikram/opt/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py”, line 576, in getattr
type(self).name, name))
AttributeError: ‘BertAdapter’ object has no attribute ‘module’
Is this due to the fact that I’m trying to run this on my CPU, and I’m not connected to a GPU?