Skip to content
Discussion options

You must be logged in to vote

@Tekno-H it depends on whether you want to modify it from the configuration file or from the code.

Feature extractor in the cflow model is defined here:
https://github.com/openvinotoolkit/anomalib/blob/6b799ce65c128dd7a1a867a7b87e9290378e7f55/anomalib/models/cflow/torch_model.py#L41

And FeatureExtractor object creates the backbone here using timm:
https://github.com/openvinotoolkit/anomalib/blob/6b799ce65c128dd7a1a867a7b87e9290378e7f55/anomalib/models/components/feature_extractors/feature_extractor.py#L48-L54

where backbone is the model string used by the timm library, and layers are the graph nodes, from which the features are extracted.

From the Code

>>> input = torch.rand((4, 3, 256, 256

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Tekno-H
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by ashwinvaidya17
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants