Skip to content

Can't load type Microsoft.ML.IPredictorProducing`1[System.Single] #4964

Closed
@infiniteloopltd

Description

@infiniteloopltd

System information

  • Windows 10 Home
  • .NET : .NET Core 2.1
  • ML.NET : 1.5-preview2
  • ML.FastTree : 1.5-preview2

Issue:

The following error occurs when reading from disk:

Can't load type Microsoft.ML.IPredictorProducing`1[System.Single], because it has both create and constructor methods with the same visibility. Please indicate which one should be used by changing either the signature or the visibility of one of them.

Model is available here: https://github.com/infiniteloopltd/ML-Problem

May be related to PR4385

Source code / logs

var mlContext = new MLContext();
var modelPath = @"MLModel.zip";
var mlModel = mlContext.Model.Load(modelPath, out var modelInputSchema);

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