Skip to content

VGG models for perceptual loss / texture loss #299

@daniel-j-h

Description

@daniel-j-h

Hey hey 👋 amazing project 🚀 🌔

For some use cases, vgg still works best. For example perceptual loss / texture loss or similar feature based losses where we only use the first few layers and then compute a loss based on the features for inputs and targets.

For some reason vgg's stem and initial layers still give better results in some cases - therefore it would be awesome to also have vgg (and its variants e.g. with BN) in here for consistency, for strong pre-trainined weights, and to benefit from this awesome project.

This feature is not urgent, the workaround is to simply use e.g. torchvision's pre-trained vgg16_bn.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions