Skip to content

How to solve AttributeError: type object 'ImageDataBunch' has no attribute 'single_from_classes ? #3

@dsbyprateekg

Description

@dsbyprateekg

Hi,

I have installed following packages in my Windows 10 machine with Python3.6-
torchvision-0.2.1
fastai-1.0.6
starlette-0.8.2
uvicorn-0.3.21

But when I run the python server.py file I am getting below error-
Traceback (most recent call last): File "server.py", line 15, in <module> data = ImageDataBunch.single_from_classes('', classes, tfms=get_transforms(), size=196).normalize(imagenet_stats) AttributeError: type object 'ImageDataBunch' has no attribute 'single_from_classes'

Can anyone help me to run the demo in my windows machine?

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