3.1.0
Notes
Installation
Getting started
Basics
Networks
Weights
Training
Custom Networks
Pre-processing pipeline
ImageTransforms
ImageAnnoTransforms
AnnoTransforms
Transformation Pipelines
Post-processing pipeline
Training
HyperParameters
Engine
Pruning
Soft Pruning
Hard Pruning
Examples
Pascal VOC
Setting up your environment
Reading scripts
Running scripts
MS COCO
Performance
ImageNet
Pascal VOC
MS COCO
Bibliography
C++
Photonnet
API
lightnet.data
Preprocessing
ImageTransform
ImageAnnoTransform
AnnoTransform
Fit
Crop
Letterbox
Pad
FitAnno
Augmentation
RandomFlip
RandomHSV
RandomJitter
RandomRotate
Postprocessing
GetBoxes
GetCornerBoxes
GetAnchorBoxes
GetMultiScaleAnchorBoxes
GetOrientedAnchorBoxes
GetMultiScaleOrientedAnchorBoxes
GetMaskedAnchorBoxes
GetMultiScaleMaskedAnchorBoxes
GetMasks
Filtering
NMS
NMSSoft
NMSSoftFast
Reverse Fit
ReverseCrop
ReverseLetterbox
ReversePad
Brambox
TensorToBrambox
PolygonizeMask
Others
Compose
Dataset
DataLoader
brambox_collate
lightnet.network
Layer
Containers
FeatureExtractor
FPN
FusionModule
FusionSequential
HourGlass
Parallel
ParallelCat
ParallelSum
Residual
SequentialSelect
Convolution
Conv2dBatchReLU
Conv2dReLU
Conv2dDepthWise
CornerPool
DeformableConv2d
InvertedBottleneck
ModulatedDeformableConv2d
Pooling
BottomPool
LeftPool
PaddedMaxPool2d
RightPool
TopPool
Others
Flatten
Reorg
Backbone
Alexnet
Cornernet
Darknet
DeformableResnet
MobileDarknet
Mobilenet
ModulatedResnet
Resnet
VGG
Head
ClassificationConv
ClassificationFC
DetectionYoloAnchor
DetectionOrientedAnchor
DetectionMaskedAnchor
DetectionCorner
Loss
RegionLoss
MultiScaleRegionLoss
OrientedRegionLoss
MultiScaleOrientedRegionLoss
MaskedRegionLoss
MultiScaleMaskedRegionLoss
CornerLoss
Module
Lightnet
Darknet
Fusion
lightnet.engine
Engine
HyperParameters
SchedulerCompositor
lightnet.prune
Methods
L2Pruner
GMPruner
MultiPruner
Pruner
Dependency Map
lightnet.prune.dependency.get_onnx_model
lightnet.prune.dependency.get_dependency_map
lightnet.prune.dependency.print_dependency_map
lightnet.prune.dependency.traverse_breadth_first
lightnet.prune.dependency.traverse_depth_first
lightnet.prune.dependency.NodeType
lightnet.prune.dependency.add_nodetype_operation
lightnet.models
Networks
Classification
Alexnet
Darknet
Darknet19
Darknet53
MobileDarknet19
MobilenetV1
MobilenetV2
Resnet50
Resnet101
Resnet152
VGG11
VGG13
VGG16
VGG19
HBB Detection
Cornernet
CornernetSqueeze
DYolo
MobilenetYolo
MobileYoloV2
MobileYoloV2Upsample
ResnetYolo
TinyYoloV2
TinyYoloV3
YoloV2
YoloV2Upsample
YoloV3
YoloFusion
Yolt
OBB Detection
O_DYolo
O_YoloV2
O_YoloV3
O_Yolt
Instance Segmentation
M_DYolo
M_ResnetYolo
M_YoloV2
M_YoloV3
M_Yolt
Data
BramboxDataset
DarknetDataset
lightnet.util
Anchors
compute_anchors
check_anchors
crop_mask
cwh_xyxy
get_module_device
get_module_shape
tlwh_xyxy
xyxy_cwh
iou_cwh
iou_tlwh
iou_wh
iou_bb_cwha
iou_bb_quad
lightnet.log
Lightnet
Index
Index
_
|
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
K
|
L
|
M
|
N
|
O
|
P
|
Q
|
R
|
S
|
T
|
V
|
W
|
X
|
Y
_
__add__() (lightnet.engine.HyperParameters method)
__call__() (lightnet.data.transform.Compose method)
(lightnet.engine.Engine method)
(lightnet.prune.MultiPruner method)
(lightnet.prune.Pruner method)
__contains__() (lightnet.data.transform.Compose method)
__delitem__() (lightnet.data.transform.Compose method)
__floordiv__() (lightnet.util.Anchors method)
__getattr__() (lightnet.engine.HyperParameters method)
__getitem__() (lightnet.data.transform.Compose method)
(lightnet.models.BramboxDataset method)
(lightnet.models.DarknetDataset method)
__init__() (lightnet.data.transform.AnnoTransform method)
(lightnet.data.transform.ImageTransform method)
(lightnet.util.Anchors method)
__init_module__() (lightnet.network.module.Lightnet method)
__init_weights__() (lightnet.network.module.Lightnet method)
__iter__() (lightnet.data.transform.Compose method)
(lightnet.engine.HyperParameters method)
__len__() (lightnet.data.transform.Compose method)
__mul__() (lightnet.util.Anchors method)
__setattr__() (lightnet.engine.Engine method)
(lightnet.engine.HyperParameters method)
(lightnet.network.module.Fusion method)
__setitem__() (lightnet.data.transform.Compose method)
__truediv__() (lightnet.util.Anchors method)
_tf_anno() (lightnet.data.transform.AnnoTransform method)
(lightnet.data.transform.ImageAnnoTransform method)
_tf_cv() (lightnet.data.transform.AnnoTransform method)
(lightnet.data.transform.ImageTransform method)
_tf_pil() (lightnet.data.transform.AnnoTransform method)
(lightnet.data.transform.ImageTransform method)
_tf_torch() (lightnet.data.transform.AnnoTransform method)
(lightnet.data.transform.ImageTransform method)
A
A (lightnet.network.backbone.VGG attribute)
add_nodetype_operation() (in module lightnet.prune.dependency)
Alexnet (class in lightnet.models)
(class in lightnet.network.backbone)
Anchors (class in lightnet.util)
AnnoTransform (class in lightnet.data.transform)
append_anchor() (lightnet.util.Anchors method)
append_values() (lightnet.util.Anchors method)
apply() (lightnet.data.transform.ImageAnnoTransform class method)
(lightnet.data.transform.ImageTransform class method)
(lightnet.network.module.Lightnet method)
as_input() (lightnet.util.Anchors method)
as_output() (lightnet.util.Anchors method)
B
B (lightnet.network.backbone.VGG attribute)
batch_end (lightnet.engine.Engine attribute)
batch_start (lightnet.engine.Engine attribute)
batch_subdivisions (lightnet.engine.Engine property)
BATCHNORM (lightnet.prune.dependency.NodeType attribute)
BottomPool (class in lightnet.network.layer)
brambox_collate (class in lightnet.data)
BramboxDataset (class in lightnet.models)
C
C (lightnet.network.backbone.VGG attribute)
change_input_dim() (lightnet.data.DataLoader method)
check_anchors() (in module lightnet.util)
ClassificationConv (class in lightnet.network.head)
ClassificationFC (class in lightnet.network.head)
Compose (class in lightnet.data.transform)
compute_anchors() (in module lightnet.util)
CONCAT (lightnet.prune.dependency.NodeType attribute)
CONV (lightnet.prune.dependency.NodeType attribute)
Conv2dBatchReLU (class in lightnet.network.layer)
Conv2dDepthWise (class in lightnet.network.layer)
Conv2dReLU (class in lightnet.network.layer)
CornerLoss (class in lightnet.network.loss)
Cornernet (class in lightnet.models)
(class in lightnet.network.backbone)
CornernetSqueeze (class in lightnet.models)
CornerPool (class in lightnet.network.layer)
create_file_handler() (in module lightnet)
create_stream_handler() (in module lightnet)
Crop (class in lightnet.data.transform)
crop_mask() (in module lightnet.util)
cwh_xyxy() (in module lightnet.util)
D
D (lightnet.network.backbone.VGG attribute)
Darknet (class in lightnet.models)
(class in lightnet.network.backbone)
(class in lightnet.network.module)
Darknet19 (class in lightnet.models)
Darknet53 (class in lightnet.models)
DarknetDataset (class in lightnet.models)
DataLoader (class in lightnet.data)
Dataset (class in lightnet.data)
Default (lightnet.network.backbone.Cornernet attribute)
(lightnet.network.backbone.DeformableResnet attribute)
(lightnet.network.backbone.ModulatedResnet attribute)
(lightnet.network.backbone.Resnet attribute)
DeformableConv2d (class in lightnet.network.layer)
DeformableResnet (class in lightnet.network.backbone)
DetectionCorner (class in lightnet.network.head)
DetectionMaskedAnchor (class in lightnet.network.head)
DetectionOrientedAnchor (class in lightnet.network.head)
DetectionYoloAnchor (class in lightnet.network.head)
DN (lightnet.network.backbone.Darknet attribute)
(lightnet.network.backbone.MobileDarknet attribute)
DN_19 (lightnet.network.backbone.Darknet attribute)
(lightnet.network.backbone.MobileDarknet attribute)
DN_53 (lightnet.network.backbone.Darknet attribute)
(lightnet.network.backbone.MobileDarknet attribute)
DYolo (class in lightnet.models)
E
E (lightnet.network.backbone.VGG attribute)
ELEMW_OP (lightnet.prune.dependency.NodeType attribute)
enabled (lightnet.data.transform.Compose property)
Engine (class in lightnet.engine)
epoch_end (lightnet.engine.Engine attribute)
epoch_start (lightnet.engine.Engine attribute)
eval() (lightnet.engine.Engine static method)
F
FeatureExtractor (class in lightnet.network.layer)
FitAnno (class in lightnet.data.transform)
Flatten (class in lightnet.network.layer)
forward() (lightnet.data.transform.ImageAnnoTransform method)
(lightnet.data.transform.ImageTransform method)
(lightnet.network.loss.CornerLoss method)
(lightnet.network.loss.MaskedRegionLoss method)
(lightnet.network.loss.MultiScaleMaskedRegionLoss method)
(lightnet.network.loss.MultiScaleOrientedRegionLoss method)
(lightnet.network.loss.MultiScaleRegionLoss method)
(lightnet.network.loss.OrientedRegionLoss method)
(lightnet.network.loss.RegionLoss method)
(lightnet.network.module.Fusion method)
FPN (class in lightnet.network.layer)
from_darknet() (lightnet.util.Anchors class method)
from_file() (lightnet.engine.HyperParameters class method)
from_output() (lightnet.util.Anchors class method)
Fusion (class in lightnet.network.module)
FusionModule (class in lightnet.network.layer)
FusionSequential (class in lightnet.network.layer)
G
get() (lightnet.engine.HyperParameters method)
get_dependency_map() (in module lightnet.prune.dependency)
get_module_device() (in module lightnet.util)
get_module_shape() (in module lightnet.util)
get_onnx_model() (in module lightnet.prune.dependency)
get_parameters() (lightnet.data.transform.ImageTransform method)
get_scale() (lightnet.util.Anchors method)
GetAnchorBoxes (class in lightnet.data.transform)
GetCornerBoxes (class in lightnet.data.transform)
GetMaskedAnchorBoxes (class in lightnet.data.transform)
GetMasks (class in lightnet.data.transform)
GetMultiScaleAnchorBoxes (class in lightnet.data.transform)
GetMultiScaleMaskedAnchorBoxes (class in lightnet.data.transform)
GetMultiScaleOrientedAnchorBoxes (class in lightnet.data.transform)
GetOrientedAnchorBoxes (class in lightnet.data.transform)
GMPruner (class in lightnet.prune)
H
hard_prune() (lightnet.prune.Pruner method)
hard_pruned_channels (lightnet.prune.MultiPruner property)
(lightnet.prune.Pruner property)
HourGlass (class in lightnet.network.layer)
HyperParameters (class in lightnet.engine)
I
IGNORE (lightnet.prune.dependency.NodeType attribute)
IGNORE_STOP (lightnet.prune.dependency.NodeType attribute)
ImageAnnoTransform (class in lightnet.data.transform)
ImageTransform (class in lightnet.data.transform)
input_dim (lightnet.data.Dataset property)
insert() (lightnet.data.transform.Compose method)
InvertedBottleneck (class in lightnet.network.layer)
iou_bb_cwha() (in module lightnet.util)
iou_bb_quad() (in module lightnet.util)
iou_cwh() (in module lightnet.util)
iou_tlwh() (in module lightnet.util)
iou_wh() (in module lightnet.util)
items() (lightnet.engine.HyperParameters method)
K
keys() (lightnet.engine.HyperParameters method)
L
L2Pruner (class in lightnet.prune)
layer_loop() (lightnet.network.module.Lightnet method)
LeftPool (class in lightnet.network.layer)
Letterbox (class in lightnet.data.transform)
Lightnet (class in lightnet.network.module)
lightnet.data
module
lightnet.engine
module
lightnet.models
module
lightnet.network
module
lightnet.prune
module
lightnet.util
module
load() (lightnet.engine.HyperParameters method)
(lightnet.network.module.Darknet method)
(lightnet.network.module.Lightnet method)
load_pruned() (lightnet.network.module.Lightnet method)
load_state_dict() (lightnet.network.module.Lightnet method)
log() (lightnet.engine.Engine method)
M
M_DYolo (class in lightnet.models)
M_ResnetYolo (class in lightnet.models)
M_YoloV2 (class in lightnet.models)
M_YoloV3 (class in lightnet.models)
M_Yolt (class in lightnet.models)
MaskedRegionLoss (class in lightnet.network.loss)
MobileDarknet (class in lightnet.network.backbone)
MobileDarknet19 (class in lightnet.models)
Mobilenet (class in lightnet.network.backbone)
MobilenetV1 (class in lightnet.models)
MobilenetV2 (class in lightnet.models)
MobilenetYolo (class in lightnet.models)
MobileYoloV2 (class in lightnet.models)
MobileYoloV2Upsample (class in lightnet.models)
ModulatedDeformableConv2d (class in lightnet.network.layer)
ModulatedResnet (class in lightnet.network.backbone)
module
lightnet.data
lightnet.engine
lightnet.models
lightnet.network
lightnet.prune
lightnet.util
modules() (lightnet.network.module.Lightnet method)
MultiPruner (class in lightnet.prune)
multiscale (lightnet.util.Anchors property)
MultiScaleMaskedRegionLoss (class in lightnet.network.loss)
MultiScaleOrientedRegionLoss (class in lightnet.network.loss)
MultiScaleRegionLoss (class in lightnet.network.loss)
N
named_layer_loop() (lightnet.network.module.Lightnet method)
named_modules() (lightnet.network.module.Lightnet method)
NMS (class in lightnet.data.transform)
NMSSoft (class in lightnet.data.transform)
NMSSoftFast (class in lightnet.data.transform)
NodeType (class in lightnet.prune.dependency)
num_anchors (lightnet.util.Anchors property)
num_scales (lightnet.util.Anchors property)
O
O_DYolo (class in lightnet.models)
O_YoloV2 (class in lightnet.models)
O_YoloV3 (class in lightnet.models)
O_Yolt (class in lightnet.models)
OrientedRegionLoss (class in lightnet.network.loss)
P
Pad (class in lightnet.data.transform)
PaddedMaxPool2d (class in lightnet.network.layer)
Parallel (class in lightnet.network.layer)
ParallelCat (class in lightnet.network.layer)
ParallelSum (class in lightnet.network.layer)
PolygonizeMask (class in lightnet.data.transform)
Prediction (lightnet.network.head.DetectionMaskedAnchor attribute)
print_dependency_map() (in module lightnet.prune.dependency)
process_batch() (lightnet.engine.Engine method)
Protonet (lightnet.network.head.DetectionMaskedAnchor attribute)
prunable_channels (lightnet.prune.MultiPruner property)
(lightnet.prune.Pruner property)
prune() (lightnet.prune.GMPruner method)
(lightnet.prune.L2Pruner method)
(lightnet.prune.Pruner method)
pruned_channels (lightnet.prune.MultiPruner property)
(lightnet.prune.Pruner property)
Pruner (class in lightnet.prune)
Q
quit() (lightnet.engine.Engine method)
R
RandomFlip (class in lightnet.data.transform)
RandomHSV (class in lightnet.data.transform)
RandomJitter (class in lightnet.data.transform)
RandomRotate (class in lightnet.data.transform)
RegionLoss (class in lightnet.network.loss)
remove_anchor() (lightnet.util.Anchors method)
remove_scale() (lightnet.util.Anchors method)
remove_values() (lightnet.util.Anchors method)
Reorg (class in lightnet.network.layer)
reset() (lightnet.engine.HyperParameters method)
Residual (class in lightnet.network.layer)
resize() (lightnet.util.Anchors method)
resize_getitem() (lightnet.data.Dataset static method)
Resnet (class in lightnet.network.backbone)
Resnet101 (class in lightnet.models)
Resnet152 (class in lightnet.models)
Resnet50 (class in lightnet.models)
ResnetYolo (class in lightnet.models)
ReverseCrop (class in lightnet.data.transform)
ReverseLetterbox (class in lightnet.data.transform)
ReversePad (class in lightnet.data.transform)
RightPool (class in lightnet.network.layer)
RN_101 (lightnet.network.backbone.DeformableResnet attribute)
(lightnet.network.backbone.ModulatedResnet attribute)
(lightnet.network.backbone.Resnet attribute)
RN_152 (lightnet.network.backbone.DeformableResnet attribute)
(lightnet.network.backbone.ModulatedResnet attribute)
(lightnet.network.backbone.Resnet attribute)
RN_50 (lightnet.network.backbone.DeformableResnet attribute)
(lightnet.network.backbone.ModulatedResnet attribute)
(lightnet.network.backbone.Resnet attribute)
S
save() (lightnet.engine.HyperParameters method)
(lightnet.network.module.Darknet method)
(lightnet.network.module.Lightnet method)
SchedulerCompositor (class in lightnet.engine)
SequentialSelect (class in lightnet.network.layer)
set_scales() (lightnet.util.Anchors method)
soft_prune() (lightnet.prune.Pruner method)
soft_pruned_channels (lightnet.prune.MultiPruner property)
(lightnet.prune.Pruner property)
split_scales() (lightnet.util.Anchors method)
Squeeze (lightnet.network.backbone.Cornernet attribute)
start() (lightnet.engine.Engine method)
state_dict() (lightnet.network.module.Lightnet method)
T
TensorToBrambox (class in lightnet.data.transform)
TinyYoloV2 (class in lightnet.models)
TinyYoloV3 (class in lightnet.models)
tlwh_xyxy() (in module lightnet.util)
to() (lightnet.engine.HyperParameters method)
TopPool (class in lightnet.network.layer)
tqdm (lightnet.data.transform.Compose property)
train_batch() (lightnet.engine.Engine method)
transform_names (lightnet.data.transform.Compose property)
traverse_breadth_first() (in module lightnet.prune.dependency)
traverse_depth_first() (in module lightnet.prune.dependency)
V
V1 (lightnet.network.backbone.Mobilenet attribute)
V2 (lightnet.network.backbone.Mobilenet attribute)
values() (lightnet.engine.HyperParameters method)
values_per_anchor (lightnet.util.Anchors property)
VGG (class in lightnet.network.backbone)
VGG11 (class in lightnet.models)
VGG13 (class in lightnet.models)
VGG16 (class in lightnet.models)
VGG19 (class in lightnet.models)
W
weight_remapping() (lightnet.network.module.Lightnet static method)
X
xyxy_cwh() (in module lightnet.util)
Y
YoloFusion (class in lightnet.models)
YoloV2 (class in lightnet.models)
YoloV2Upsample (class in lightnet.models)
YoloV3 (class in lightnet.models)
Yolt (class in lightnet.models)