Skip to content

Getting error while running predict module #1

@kiran-ray

Description

@kiran-ray

Getting this error
RuntimeError: Expected object of type torch.FloatTensor but found type torch.cuda.FloatTensor for argument #2 'weight'

Steps:
Executed train.py in GPU mode.
Similarly executed predict.py in GPU mode. Looks like the GPU mode settings are not done in predict flow?

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