Skip to content

Import in transforms.py #2

@simonbing

Description

@simonbing

When attempting to use the FlowEncoder class I ran into the following error:

AttributeError: module 'nflows' has no attribute 'nn'

I think this is due to a missing import in transforms.py. Appending

import nflows.nn.nets

seems to fix the issue for now.

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