PatchVQ
PatchVQ copied to clipboard
name 'Accelerator' is not defined
In your demo of colab,
I got this error... T.T help me...
NameError Traceback (most recent call last)
2 frames
/usr/local/lib/python3.7/dist-packages/fastai/distributed.py in DistributedTrainer()
142 "Wrap model in DistributedDataParallel and dls in DistributedDL"
143 order = 11
--> 144 @delegates(Accelerator, but=_hidden_params)
145 def init(self,
146 sync_bn=True, # Whether to replace all batch norm with nn.SyncBatchNorm
NameError: name 'Accelerator' is not defined