important-memory-34
11/30/2023, 9:06 AMunionml train app:model -i '{"hyperparameters": {"C": 1.0, "max_iter": 1000}}'
, and the workflow execute and run OK in flyte, but when I want to predict
unionml predict app:model -f data/sample_features.json
I've got an error :
TypeError: No automatic conversion found from type <class 'sklearn.linear_model._logistic.LogisticRegression'> to FlyteFile.Supported (os.PathLike, str, Flytefile)
which is a flytekit originated error,
my config is unionml 0.2.1, flyteidl 1.5.21, flytekit 1.9.1, scikit-learn 1.3.2, with flyte-binary
I'm stuck with this issue, any idea on how to fix, by specifying a type somewhere ?
or is it a bug due to some new version of packages ?
thanks in advance for any help or hint, at least to workaround this problem, or better I use the s3 storage to store and link the features file ?
Slack Conversationtall-lock-23197
broad-monitor-993
11/30/2023, 2:48 PMapp.py
code are you using?broad-monitor-993
11/30/2023, 3:01 PMbroad-monitor-993
11/30/2023, 3:01 PM