Skip to content

RealTabFormer.fit() crashes with the default parameter values #103

@R-Palazzo

Description

@R-Palazzo

Version: 0.2.4

Hi,

When I run:

from realtabformer import REaLTabFormer

model = REaLTabFormer(model_type='tabular')
model.fit(data)

I get
TypeError: realtabformer.realtabformer.REaLTabFormer.sample() argument after ** must be a mapping, not NoneType

This seems to be due to the 0.2.4 release introducing two new parameters to the fit() method: save_full_every_epoch and gen_kwargs.
The current defaults for these parameters cause my code to crash.

To make it work, I had to do:

model.fit(data, save_full_every_epoch=0, gen_kwargs={})

Thanks in advance for your help :)

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