dotnet / dotnet/machinelearning-samples

Error in SpikeDetection.WinForms

Open
#925 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
4.7k
Forks
2.7k
Avg merge
2d 22h
Merged PRs (30d)
1

Description

I trained a model with **SpikeDetection.ModelTrainer** project and saved it. Then I ran project **SpikeDetection.WinForms** with option **Spike Detection**. The program fails in
`ITransformer tansformedModel = mlcontext.Model.Load(modelPath, out var modelInputSchema);`
with error
`System.TypeLoadException
HResult=0x80131522
Message=Could not load type 'Microsoft.ML.Runtime.LoadableClassAttribute' from assembly 'Microsoft.ML.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.