Skip to content

How do I determine the data needed for inference? #53

@zj114514

Description

@zj114514

How do I determine the data needed for inference?

from pixloc.pixlib.utils.experiments import load_experiment

test_conf = {} # will overwrite the training and default configurations
model = load_experiment('name_of_my_experiment', test_conf)
model = model.eval().cuda() # optionally move the model to GPU
predictions = model(data) # data is a dictionary of tensors

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