Skip to content

AttributeError: 'DataLoader' object has no attribute 'device' #78

@Zephyr-stack

Description

@Zephyr-stack

Here is a link to my notebook https://www.kaggle.com/sarthaksshukla/cnn-with-pytorch. When I try to run learner.lr_find(), learner being the FastAI's Learner, it shows the error shown above. Please help. I am running this notebook on Kaggle, therefore I do not know the versions of the PyTorch or FastAI that are currently being used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions