Skip to content

Some questions about the code #10

@winner-4

Description

@winner-4
   # get class_label
    is_trans = data["is_trans"].cuda()
    trans = 1 - is_trans

Why am I getting an error message during reasoning?

File "/workspace/03_Matting/SDMatte/modeling/SDMatte/meta_arch.py", line 197, in forward
is_trans = data["is_trans"].cuda()
~~~~^^^^^^^^^^^^
KeyError: 'is_trans'

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