Skip to content

LoadWeightsFailedException

Namespace: LLama.Exceptions

Loading model weights failed

1
public class LoadWeightsFailedException : RuntimeError, System.Runtime.Serialization.ISerializable

Inheritance ObjectExceptionRuntimeErrorLoadWeightsFailedException
Implements ISerializable

Properties

ModelPath

The model path which failed to load

1
public string ModelPath { get; }

Property Value

String

TargetSite

1
public MethodBase TargetSite { get; }

Property Value

MethodBase

Message

1
public string Message { get; }

Property Value

String

Data

1
public IDictionary Data { get; }

Property Value

IDictionary

InnerException

1
public Exception InnerException { get; }

Property Value

Exception

1
public string HelpLink { get; set; }

Property Value

String

Source

1
public string Source { get; set; }

Property Value

String

HResult

1
public int HResult { get; set; }

Property Value

Int32

StackTrace

1
public string StackTrace { get; }

Property Value

String

Constructors

LoadWeightsFailedException(String)

1
public LoadWeightsFailedException(string modelPath)

Parameters

modelPath String