Skip to content

[Task]:How to get predict results and modify them?  #951

Closed

Description

@lnbxldn

What is the motivation for this task?

How to reshape the inference result to origin shape and get the predict boundarys results and modify them?

Describe the solution you'd like

I use reverse_distillation model on my own dataset, and i wanna inference the model and get the predict results, I use the command:
python tools/inference/lightning_inference.py
--config anomalib/models/reverse_distillation/config.yaml
--weights results/reverse_distillation/mvtec/my_dataset/run/weights/model.ckpt
--input datasets/MVTec/my_dataset/test/anomaly/
--output results/reverse_distillation/mvtec/my_dataset/run/images
the result image are transformed as the shape 800 x 800 and the color is green.
How to reshape the image result to origin shape and get the predict boundarys results and modify them?

Additional context

No response

Activity

  1. locked and limited conversation to collaborators on Mar 16, 2023
  2. converted this issue into a discussion #961 on Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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