Skip to content

Discriminator training: only integer tensors of a single element can be converted to an index #1

@umberH

Description

@umberH

I am getting this error at train_discrim file.
Can you please guide me on how can I fix this issue?

File "train_discrim.py", line 88, in avg_representation
masked_hidden = hidden * mask
TypeError: only integer tensors of a single element can be converted to an index

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions