Replies: 1 comment 1 reply
-
Hello, anomalib/src/anomalib/models/image/ganomaly/lightning_model.py Lines 158 to 165 in f6ec1c5 You will also need to change or turn off validation here to allow usage of an image with four channels: anomalib/src/anomalib/data/validators/torch/image.py Lines 516 to 518 in f6ec1c5 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
While using GANomaly to process 3-channel (RGB) images, I came across functionality that appears to support multi-channel input, such as RGB+NIR. According to the Anomalib documentation, this can be configured using the num_input_channels parameter. However, I encountered difficulties setting this parameter via the CLI.
It seems that when invoking GANomaly through the CLI, the num_input_channels parameter is defined within the GanomalyModel, not directly exposed in the configuration file.
Has anyone experienced this issue or found a workaround? I'd appreciate any guidance or suggestions.
Beta Was this translation helpful? Give feedback.
All reactions