PatchVQ icon indicating copy to clipboard operation
PatchVQ copied to clipboard

name 'Accelerator' is not defined

Open NeighborhoodCoding opened this issue 3 years ago • 0 comments

In your demo of colab,

I got this error... T.T help me...


NameError Traceback (most recent call last) in () ----> 1 from fastiqa.vqa import * 2 3 # modify the json files to point to your database locations 4 LSVQ = load_json('json/LSVQ.json') 5 LIVE_VQC = {

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

NeighborhoodCoding avatar Aug 08 '22 06:08 NeighborhoodCoding