Skip to content

ix ReduceLROnPlateau compatibility with newer PyTorch versions #37

@Meeex2

Description

@Meeex2

Issue

In tabsyn/tabsyn/vae/main.py, this line:

scheduler = ReduceLROnPlateau(optimizer, mode='min', factor=0.95, patience=10, verbose=True)

fails on newer PyTorch versions because verbose is no longer a valid argument.

Potential Solution

Update installation instructions in README to pin older versions:

pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2

Instead of:

pip install torch torchvision torchaudio

This ensures compatibility until code is updated to work with newer PyTorch versions.

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