Skip to content

igl.exceptions

A single base class with one level of subclasses.

igl.exceptions.IGLError

Bases: Exception

Base class for all igl-raised exceptions.

igl.exceptions.IGLConfigError

Bases: IGLError

Raised when a configuration value is invalid or inconsistent.

igl.exceptions.IGLConvergenceError

Bases: IGLError

Raised when training fails to converge (e.g. loss becomes NaN/inf).

Attributes:

Name Type Description
epoch int

The epoch at which divergence was detected.

last_loss float

The most recent finite loss value seen before failure.

igl.exceptions.IGLDependencyError

Bases: IGLError

Raised when an optional feature is used without its extras installed.

Attributes:

Name Type Description
feature str

A human-readable name for the requested feature.

extra str

The [extra] group that provides the missing modules.

missing tuple[str, ...]

The specific module names that could not be imported.

igl.exceptions.IGLNotFittedError

Bases: IGLError

Raised when a model method is called before :meth:fit.