Skip to content
This repository was archived by the owner on Jun 26, 2025. It is now read-only.

Compile features using exact same dataset settings #32

@siemdejong

Description

@siemdejong

Describe the bug
The features may not have to be compiled using exactly the same settings for the datamodule as on which the feature extractor is trained.
This is a problem, as it might perform bad on images without a mask or tiles with a different size or mpp.

To Reproduce
Steps to reproduce the behavior:

  1. Train a feature extractor
  2. Compile features with a new PMCHHGImageDataset

Desktop (please complete the following information):

  • DPAT version 4.3.2

Additional context
A solution might be to save the pytorch lightning hyperparameters with save_hyperparameters or ask for the specific config file the feature extractor trained with, and use those variables for instantiation of PMCHHGImageDataset

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions