Skip to content

Inputting text into the model #8

Description

@mashrurmorshed

I've been inspecting the code and was wondering, what is the purpose of inputting text into the model?

In the OrigamiNet class in cnv_model.py, the forward method seems to accept a list t=[], or text, that has no apparent use.

In train.py, text is passed into the model in this fashion:

preds = model(image,text).float()

And in validation, an empty string is passed:

preds = model(image, '')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions