Table of Contents

Class ScanNetSemanticSegmentationDataLoader<T>

Namespace
AiDotNet.Data.Geometry
Assembly
AiDotNet.dll

Loads the ScanNet semantic segmentation dataset.

public sealed class ScanNetSemanticSegmentationDataLoader<T> : PointCloudDatasetLoaderBase<T>, IInputOutputDataLoader<T, Tensor<T>, Tensor<T>>, IDataLoader<T>, IResettable, ICountable, IBatchIterable<(Tensor<T> Features, Tensor<T> Labels)>, IShuffleable

Type Parameters

T
Inheritance
InputOutputDataLoaderBase<T, Tensor<T>, Tensor<T>>
ScanNetSemanticSegmentationDataLoader<T>
Implements
IInputOutputDataLoader<T, Tensor<T>, Tensor<T>>
IBatchIterable<(Tensor<T> Features, Tensor<T> Labels)>
Inherited Members
Extension Methods

Constructors

ScanNetSemanticSegmentationDataLoader(ScanNetSemanticSegmentationDataLoaderOptions?)

Initializes a new instance of the ScanNetSemanticSegmentationDataLoader<T> class.

public ScanNetSemanticSegmentationDataLoader(ScanNetSemanticSegmentationDataLoaderOptions? options = null)

Parameters

options ScanNetSemanticSegmentationDataLoaderOptions

Properties

ClassNames

Gets the class names for the selected label mode.

public IReadOnlyList<string> ClassNames { get; }

Property Value

IReadOnlyList<string>

Description

Gets a description of the dataset and its intended use.

public override string Description { get; }

Property Value

string

Name

Gets the human-readable name of this data loader.

public override string Name { get; }

Property Value

string

Remarks

Examples: "MNIST", "Cora Citation Network", "IMDB Reviews"

NumClasses

Gets the number of classes for the selected label mode.

public int NumClasses { get; }

Property Value

int

Methods

LoadDataCoreAsync(CancellationToken)

Core data loading implementation to be provided by derived classes.

protected override Task LoadDataCoreAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Cancellation token for async operation.

Returns

Task

A task that completes when loading is finished.

Remarks

Derived classes must implement this to perform actual data loading: - Load from files, databases, or remote sources - Parse and validate data format - Store in appropriate internal structures

UnloadDataCore()

Core data unloading implementation to be provided by derived classes.

protected override void UnloadDataCore()

Remarks

Derived classes should implement this to release resources: - Clear internal data structures - Release file handles or connections - Allow garbage collection of loaded data