Thanks to visit codestin.com
Credit goes to github.com

Skip to content

mlr3torch learner 'classif.ft_transformer' corruption after write and read from disk #412

@jurbanhost

Description

@jurbanhost

Hi!
Thanks for beautifull package mlr3torch, it's awesome!

If you train 'classif.ft_transformer' on data that has categorical variables - then after saving (with marshal() before) trained learner to a file and after reading (with unmarshal() after) from the file when executing predict you will see the error 'Error in (function (self) : external pointer is not valid'

If you train 'classif.ft_transformer' on data that has no categorical variables - then the error does not occur.

Code to reproduce the error:
https://gist.github.com/jurbanhost/f01388430718610661a239518bc6d696


Jury.

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