Skip to content

Prediction using trained model #20

@Thelbock

Description

@Thelbock

Hello @pradeep-pyro,

first of all, thank you very much for sharing the amazing work of you and your team!

I managed to train the Segmentation Model using my own labeled step files.
The results are very good and now I want to do predictions on single, unseen graph files.

I pass a batched DGL graph to the 'forward' method of the model, but the problem is that I always get an 'Assertion Error'.
Here you can see some tries I did, but all of them result in the same error:

image

At the beginning I loaded the model by using 'Segmentation.load_from_checkpoint(...).

I would be very thankful for your help or maybe a simple code snipped of how to do predictions on a single graph file.

Thank you very much,

Tim

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