Documentation
¶
Index ¶
- Variables
- type CIFAR10
- func (d *CIFAR10) CanonicalName() string
- func (CIFAR10) Category() string
- func (d *CIFAR10) Close() error
- func (d *CIFAR10) Download(ctx context.Context) error
- func (d *CIFAR10) Get(ctx context.Context, name string) (dldataset.LabeledData, error)
- func (d *CIFAR10) List(ctx context.Context) ([]string, error)
- func (d *CIFAR10) Load(ctx context.Context) error
- func (*CIFAR10) Name() string
- func (d *CIFAR10) New(ctx context.Context) (dldataset.Dataset, error)
- func (d *CIFAR10) Next(ctx context.Context) (dldataset.LabeledData, error)
- type CIFAR10LabeledImage
- type CIFAR100
- func (d *CIFAR100) CanonicalName() string
- func (CIFAR100) Category() string
- func (d *CIFAR100) Close() error
- func (d *CIFAR100) Download(ctx context.Context) error
- func (d *CIFAR100) Get(ctx context.Context, name string) (dldataset.LabeledData, error)
- func (d *CIFAR100) List(ctx context.Context) ([]string, error)
- func (d *CIFAR100) Load(ctx context.Context) error
- func (*CIFAR100) Name() string
- func (d *CIFAR100) New(ctx context.Context) (dldataset.Dataset, error)
- func (d *CIFAR100) Next(ctx context.Context) (dldataset.LabeledData, error)
- type CIFAR100LabeledImage
- func (l CIFAR100LabeledImage) CoarseLabel() string
- func (l CIFAR100LabeledImage) Data() (interface{}, error)
- func (l CIFAR100LabeledImage) Feature() *dlframework.Feature
- func (l CIFAR100LabeledImage) Features() dlframework.Features
- func (l CIFAR100LabeledImage) FineLabel() string
- func (l CIFAR100LabeledImage) Label() string
- type CityScapeClass
- type CocoLabeledImage
- type CocoValidationTFRecord
- func (d *CocoValidationTFRecord) CanonicalName() string
- func (CocoValidationTFRecord) Category() string
- func (d *CocoValidationTFRecord) Close() error
- func (d *CocoValidationTFRecord) Download(ctx context.Context) error
- func (d *CocoValidationTFRecord) Get(ctx context.Context, name string) (dldataset.LabeledData, error)
- func (d *CocoValidationTFRecord) List(ctx context.Context) ([]string, error)
- func (d *CocoValidationTFRecord) Load(ctx context.Context) error
- func (d *CocoValidationTFRecord) Name() string
- func (d *CocoValidationTFRecord) New(ctx context.Context) (dldataset.Dataset, error)
- func (d *CocoValidationTFRecord) Next(ctx context.Context) (dldataset.LabeledData, error)
- type ILSVRC2012ValidationFolder
- func (d *ILSVRC2012ValidationFolder) CanonicalName() string
- func (ILSVRC2012ValidationFolder) Category() string
- func (d *ILSVRC2012ValidationFolder) Close() error
- func (d *ILSVRC2012ValidationFolder) Download(ctx context.Context) error
- func (d *ILSVRC2012ValidationFolder) Get(ctx context.Context, name string) (dldataset.LabeledData, error)
- func (d *ILSVRC2012ValidationFolder) GetWithoutDownloadManager(ctx context.Context, name string) (dldataset.LabeledData, error)
- func (d *ILSVRC2012ValidationFolder) List(ctx context.Context) ([]string, error)
- func (d *ILSVRC2012ValidationFolder) Load(ctx context.Context) error
- func (d *ILSVRC2012ValidationFolder) Name() string
- func (d *ILSVRC2012ValidationFolder) New(ctx context.Context) (dldataset.Dataset, error)
- func (d *ILSVRC2012ValidationFolder) Next(ctx context.Context) (dldataset.LabeledData, error)
- type ILSVRC2012ValidationLabeledImage
- type ILSVRC2012ValidationRecordIO
- func (d *ILSVRC2012ValidationRecordIO) CanonicalName() string
- func (ILSVRC2012ValidationRecordIO) Category() string
- func (d *ILSVRC2012ValidationRecordIO) Close() error
- func (d *ILSVRC2012ValidationRecordIO) Download(ctx context.Context) error
- func (d *ILSVRC2012ValidationRecordIO) Get(ctx context.Context, name string) (dldataset.LabeledData, error)
- func (d *ILSVRC2012ValidationRecordIO) List(ctx context.Context) ([]string, error)
- func (d *ILSVRC2012ValidationRecordIO) Load(ctx context.Context) error
- func (d *ILSVRC2012ValidationRecordIO) Name() string
- func (d *ILSVRC2012ValidationRecordIO) New(ctx context.Context) (dldataset.Dataset, error)
- func (d *ILSVRC2012ValidationRecordIO) Next(ctx context.Context) (dldataset.LabeledData, error)
- type MNIST
- func (d *MNIST) CanonicalName() string
- func (MNIST) Category() string
- func (d *MNIST) Close() error
- func (d *MNIST) Download(ctx context.Context) error
- func (d *MNIST) Get(ctx context.Context, name string) (dldataset.LabeledData, error)
- func (d *MNIST) List(ctx context.Context) ([]string, error)
- func (d *MNIST) Load(ctx context.Context) error
- func (*MNIST) Name() string
- func (d *MNIST) New(ctx context.Context) (dldataset.Dataset, error)
- func (d *MNIST) Next(ctx context.Context) (dldataset.LabeledData, error)
- type MNISTLabeledImage
- type PascalLabeledImage
- type PascalValidationTFRecord
- func (d *PascalValidationTFRecord) CanonicalName() string
- func (PascalValidationTFRecord) Category() string
- func (d *PascalValidationTFRecord) Close() error
- func (d *PascalValidationTFRecord) Download(ctx context.Context) error
- func (d *PascalValidationTFRecord) Get(ctx context.Context, name string) (dldataset.LabeledData, error)
- func (d *PascalValidationTFRecord) List(ctx context.Context) ([]string, error)
- func (d *PascalValidationTFRecord) Load(ctx context.Context) error
- func (d *PascalValidationTFRecord) Name() string
- func (d *PascalValidationTFRecord) New(ctx context.Context) (dldataset.Dataset, error)
- func (d *PascalValidationTFRecord) Next(ctx context.Context) (dldataset.LabeledData, error)
Constants ¶
This section is empty.
Variables ¶
var CityScapeClasses []CityScapeClass
CityScapeClasses ...
Functions ¶
This section is empty.
Types ¶
type CIFAR10 ¶
type CIFAR10 struct {
// contains filtered or unexported fields
}
CIFAR10 ...
type CIFAR10LabeledImage ¶
type CIFAR10LabeledImage struct {
// contains filtered or unexported fields
}
CIFAR10LabeledImage ...
func (CIFAR10LabeledImage) Feature ¶
func (l CIFAR10LabeledImage) Feature() *dlframework.Feature
Feature ...
func (CIFAR10LabeledImage) Features ¶
func (l CIFAR10LabeledImage) Features() dlframework.Features
Features ...
type CIFAR100 ¶
type CIFAR100 struct {
// contains filtered or unexported fields
}
CIFAR100 ...
type CIFAR100LabeledImage ¶
type CIFAR100LabeledImage struct {
// contains filtered or unexported fields
}
CIFAR100LabeledImage ...
func (CIFAR100LabeledImage) CoarseLabel ¶
func (l CIFAR100LabeledImage) CoarseLabel() string
CoarseLabel ...
func (CIFAR100LabeledImage) Data ¶
func (l CIFAR100LabeledImage) Data() (interface{}, error)
Data ...
func (CIFAR100LabeledImage) Feature ¶
func (l CIFAR100LabeledImage) Feature() *dlframework.Feature
Feature ...
func (CIFAR100LabeledImage) Features ¶
func (l CIFAR100LabeledImage) Features() dlframework.Features
Features ...
func (CIFAR100LabeledImage) FineLabel ¶
func (l CIFAR100LabeledImage) FineLabel() string
FineLabel ...
type CityScapeClass ¶
type CityScapeClass struct {
Name string
ID int64
TrainID int64
Category string
CategoryID int64
HasInstances bool
IgnoreInEval bool
Color []uint8
}
CityScapeClass ...
type CocoLabeledImage ¶
type CocoLabeledImage struct {
// contains filtered or unexported fields
}
CocoLabeledImage ...
func NewCocoLabeledImageFromRecord ¶
func NewCocoLabeledImageFromRecord(rec *protobuf.Example) *CocoLabeledImage
func (*CocoLabeledImage) Feature ¶
func (d *CocoLabeledImage) Feature() *dlframework.Feature
Feature ...
func (*CocoLabeledImage) Features ¶
func (d *CocoLabeledImage) Features() dlframework.Features
Features ...
type CocoValidationTFRecord ¶
type CocoValidationTFRecord struct {
// contains filtered or unexported fields
}
CocoValidationTFRecord ...
func (*CocoValidationTFRecord) CanonicalName ¶
func (d *CocoValidationTFRecord) CanonicalName() string
CanonicalName ...
func (CocoValidationTFRecord) Category ¶
func (CocoValidationTFRecord) Category() string
Category ...
func (*CocoValidationTFRecord) Download ¶
func (d *CocoValidationTFRecord) Download(ctx context.Context) error
Download ...
func (*CocoValidationTFRecord) Get ¶
func (d *CocoValidationTFRecord) Get(ctx context.Context, name string) (dldataset.LabeledData, error)
Get ...
func (*CocoValidationTFRecord) List ¶
func (d *CocoValidationTFRecord) List(ctx context.Context) ([]string, error)
List ...
func (*CocoValidationTFRecord) Load ¶
func (d *CocoValidationTFRecord) Load(ctx context.Context) error
Load ...
func (*CocoValidationTFRecord) Next ¶
func (d *CocoValidationTFRecord) Next(ctx context.Context) (dldataset.LabeledData, error)
Next ...
type ILSVRC2012ValidationFolder ¶
type ILSVRC2012ValidationFolder struct {
// contains filtered or unexported fields
}
ILSVRC2012ValidationFolder ...
func (*ILSVRC2012ValidationFolder) CanonicalName ¶
func (d *ILSVRC2012ValidationFolder) CanonicalName() string
CanonicalName ...
func (ILSVRC2012ValidationFolder) Category ¶
func (ILSVRC2012ValidationFolder) Category() string
Category ...
func (*ILSVRC2012ValidationFolder) Close ¶
func (d *ILSVRC2012ValidationFolder) Close() error
Close ...
func (*ILSVRC2012ValidationFolder) Download ¶
func (d *ILSVRC2012ValidationFolder) Download(ctx context.Context) error
Download ...
func (*ILSVRC2012ValidationFolder) Get ¶
func (d *ILSVRC2012ValidationFolder) Get(ctx context.Context, name string) (dldataset.LabeledData, error)
Get ...
func (*ILSVRC2012ValidationFolder) GetWithoutDownloadManager ¶
func (d *ILSVRC2012ValidationFolder) GetWithoutDownloadManager(ctx context.Context, name string) (dldataset.LabeledData, error)
GetWithoutDownloadManager ...
func (*ILSVRC2012ValidationFolder) List ¶
func (d *ILSVRC2012ValidationFolder) List(ctx context.Context) ([]string, error)
List ...
func (*ILSVRC2012ValidationFolder) Load ¶
func (d *ILSVRC2012ValidationFolder) Load(ctx context.Context) error
func (*ILSVRC2012ValidationFolder) Name ¶
func (d *ILSVRC2012ValidationFolder) Name() string
Name ...
func (*ILSVRC2012ValidationFolder) Next ¶
func (d *ILSVRC2012ValidationFolder) Next(ctx context.Context) (dldataset.LabeledData, error)
type ILSVRC2012ValidationLabeledImage ¶
type ILSVRC2012ValidationLabeledImage struct {
// contains filtered or unexported fields
}
ILSVRC2012ValidationLabeledImage ...
func (ILSVRC2012ValidationLabeledImage) Data ¶
func (l ILSVRC2012ValidationLabeledImage) Data() (interface{}, error)
Data ...
func (*ILSVRC2012ValidationLabeledImage) Feature ¶
func (d *ILSVRC2012ValidationLabeledImage) Feature() *dlframework.Feature
Feature ...
func (ILSVRC2012ValidationLabeledImage) Features ¶
func (l ILSVRC2012ValidationLabeledImage) Features() dlframework.Features
Features ...
func (ILSVRC2012ValidationLabeledImage) Label ¶
func (l ILSVRC2012ValidationLabeledImage) Label() string
Label ...
type ILSVRC2012ValidationRecordIO ¶
type ILSVRC2012ValidationRecordIO struct {
// contains filtered or unexported fields
}
ILSVRC2012ValidationFolder ...
func (*ILSVRC2012ValidationRecordIO) CanonicalName ¶
func (d *ILSVRC2012ValidationRecordIO) CanonicalName() string
func (ILSVRC2012ValidationRecordIO) Category ¶
func (ILSVRC2012ValidationRecordIO) Category() string
Category ...
func (*ILSVRC2012ValidationRecordIO) Close ¶
func (d *ILSVRC2012ValidationRecordIO) Close() error
func (*ILSVRC2012ValidationRecordIO) Download ¶
func (d *ILSVRC2012ValidationRecordIO) Download(ctx context.Context) error
func (*ILSVRC2012ValidationRecordIO) Get ¶
func (d *ILSVRC2012ValidationRecordIO) Get(ctx context.Context, name string) (dldataset.LabeledData, error)
func (*ILSVRC2012ValidationRecordIO) List ¶
func (d *ILSVRC2012ValidationRecordIO) List(ctx context.Context) ([]string, error)
func (*ILSVRC2012ValidationRecordIO) Load ¶
func (d *ILSVRC2012ValidationRecordIO) Load(ctx context.Context) error
func (*ILSVRC2012ValidationRecordIO) Name ¶
func (d *ILSVRC2012ValidationRecordIO) Name() string
func (*ILSVRC2012ValidationRecordIO) Next ¶
func (d *ILSVRC2012ValidationRecordIO) Next(ctx context.Context) (dldataset.LabeledData, error)
type MNIST ¶
type MNIST struct {
// contains filtered or unexported fields
}
MNIST ...
type MNISTLabeledImage ¶
type MNISTLabeledImage struct {
// contains filtered or unexported fields
}
MNISTLabeledImage ...
func (MNISTLabeledImage) Feature ¶
func (l MNISTLabeledImage) Feature() *dlframework.Feature
Feature ...
func (MNISTLabeledImage) Features ¶
func (l MNISTLabeledImage) Features() dlframework.Features
Features ...
type PascalLabeledImage ¶
type PascalLabeledImage struct {
// contains filtered or unexported fields
}
PascalLabeledImage ...
func NewPascalLabeledImageFromRecord ¶
func NewPascalLabeledImageFromRecord(rec *protobuf.Example) *PascalLabeledImage
func (*PascalLabeledImage) Feature ¶
func (d *PascalLabeledImage) Feature() *dlframework.Feature
Feature ...
func (*PascalLabeledImage) Features ¶
func (d *PascalLabeledImage) Features() dlframework.Features
Features ...
type PascalValidationTFRecord ¶
type PascalValidationTFRecord struct {
// contains filtered or unexported fields
}
PascalValidationTFRecord ...
var ( Pascal2007ValidationTFRecord *PascalValidationTFRecord Pascal2012ValidationTFRecord *PascalValidationTFRecord )
func (*PascalValidationTFRecord) CanonicalName ¶
func (d *PascalValidationTFRecord) CanonicalName() string
CanonicalName ...
func (PascalValidationTFRecord) Category ¶
func (PascalValidationTFRecord) Category() string
Category ...
func (*PascalValidationTFRecord) Download ¶
func (d *PascalValidationTFRecord) Download(ctx context.Context) error
Download ...
func (*PascalValidationTFRecord) Get ¶
func (d *PascalValidationTFRecord) Get(ctx context.Context, name string) (dldataset.LabeledData, error)
Get ...
func (*PascalValidationTFRecord) List ¶
func (d *PascalValidationTFRecord) List(ctx context.Context) ([]string, error)
List ...
func (*PascalValidationTFRecord) Load ¶
func (d *PascalValidationTFRecord) Load(ctx context.Context) error
Load ...
func (*PascalValidationTFRecord) Next ¶
func (d *PascalValidationTFRecord) Next(ctx context.Context) (dldataset.LabeledData, error)
Next ...