Skip to content

name 'Accelerator' is not defined #12

@NeighborhoodCoding

Description

@NeighborhoodCoding

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions