Skip to content

Tensor type error of SMS spam prediction with a GRU model #2595

@baishanca

Description

@baishanca

Describe the bug
When I run the Federated SMS Spam prediction.py in advanced tutorials, it will go to handcrafted.py and show the tensor type error about :

''Expected tensor for argument #1 'indices' to have scalar type Long; but got CPUType instead (while checking arguments for embedding)''

Expected behavior
Which in tutorials actually

Screenshots
image
image

Desktop
windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Stale 🍞Been open for a while with no activity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions