Skip to content

RuntimeError: Expected object of scalar type Byte but got scalar type Bool #86

@vdhyani96

Description

@vdhyani96

While creating 'Instance Map' in Pix2PixModel.get_edges.
Got this error while generating images using the pre-trained model for COCO_STUFF with the sample images.
What could be the issue? Is there a need for code changes? Or is it a data issue?

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