Skip to content

decord 0.6.0

Download JSON

  • PyPI https://pypi.org/project/decord/
    Repository https://github.com/dmlc/decord

  • py.typed

  • Coverage


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "Typed" : 0
        "Any" : 0
        "Untyped" : 350
    • 0.0% coverage
    • 0.0% coverage (strict)
    • 350 typable
      • 0 typed
      • 350 untyped
      • 0 Any
  • Typables


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "functions" : 49
        "classes" : 246
        "other" : 0
    • 28 functions (+0 overloads)
      • 21 parameters
    • 19 classes
      • 77 methods (+0 overloads)
        • 166 parameters
      • 3 properties
    • 18 modules
      • 0 attrs

Modules

Module Coverage Coverage (strict) Typables Ignores
decord.audio_reader 0.0% 0.0% 23 0
decord.av_reader 0.0% 0.0% 18 0
decord.base 0.0% 0.0% 4 0
decord.bridge 0.0% 0.0% 11 0
decord.bridge.mxnet 0.0% 0.0% 5 0
decord.bridge.tf 0.0% 0.0% 5 0
decord.bridge.torchdl 0.0% 0.0% 5 0
decord.bridge.tvm 0.0% 0.0% 5 0
decord.bridge.utils 0.0% 0.0% 3 0
decord.data.base_action 0.0% 0.0% 81 0
decord.data.dataloader 0.0% 0.0% 17 0
decord.data.kinetics.kinetics400_action 0.0% 0.0% 27 0
decord.data.transforms.action 0.0% 0.0% 86 0
decord.function.base 0.0% 0.0% 8 0
decord.logging 0.0% 0.0% 2 0
decord.ndarray 0.0% 0.0% 10 0
decord.video_loader 0.0% 0.0% 14 0
decord.video_reader 0.0% 0.0% 26 0

Incomplete Annotations

decord.audio_reader (23 missing, 0 any)

Symbol Typable Typed Any
meth AudioReader.init 5 0 0
meth AudioReader.len 1 0 0
meth AudioReader.del 1 0 0
meth AudioReader.getitem 2 0 0
meth AudioReader.get_batch 2 0 0
meth AudioReader.duration 1 0 0
meth AudioReader.__get_num_padding 1 0 0
meth AudioReader.add_padding 1 0 0
meth AudioReader.get_info 1 0 0
meth AudioReader._time_to_sample 2 0 0
meth AudioReader._times_to_samples 2 0 0
meth AudioReader._validate_indices 2 0 0
prop AudioReader.shape 1 0 0
attr AudioReader.sample_rate 1 0 0

decord.av_reader (18 missing, 0 any)

Symbol Typable Typed Any
meth AVReader.init 9 0 0
meth AVReader.len 1 0 0
meth AVReader.getitem 2 0 0
meth AVReader.get_batch 2 0 0
meth AVReader._get_slice 2 0 0
meth AVReader._validate_indices 2 0 0

decord.base (4 missing, 0 any)

Symbol Typable Typed Any
func decord_warning 2 0 0
func is_all 2 0 0

decord.bridge (11 missing, 0 any)

Symbol Typable Typed Any
func bridge_out 2 0 0
func bridge_in 2 0 0
func use_tensorflow 1 0 0
func use_mxnet 1 0 0
func set_bridge 2 0 0
func use_tvm 1 0 0
func reset_bridge 1 0 0
func use_torch 1 0 0

decord.bridge.mxnet (5 missing, 0 any)

Symbol Typable Typed Any
func from_mxnet 2 0 0
func try_import_mxnet 1 0 0
func to_mxnet 2 0 0

decord.bridge.tf (5 missing, 0 any)

Symbol Typable Typed Any
func try_import_tfdl 1 0 0
func from_tensorflow 2 0 0
func to_tensorflow 2 0 0

decord.bridge.torchdl (5 missing, 0 any)

Symbol Typable Typed Any
func from_torch 2 0 0
func to_torch 2 0 0
func try_import_torch 1 0 0

decord.bridge.tvm (5 missing, 0 any)

Symbol Typable Typed Any
func to_tvm 2 0 0
func from_tvm 2 0 0
func try_import_tvm 1 0 0

decord.bridge.utils (3 missing, 0 any)

Symbol Typable Typed Any
func try_import 3 0 0

decord.data.base_action (81 missing, 0 any)

Symbol Typable Typed Any
meth VideoClsCustom.init 24 0 0
meth VideoClsCustom.getitem 2 0 0
meth VideoClsCustom.len 1 0 0
meth VideoClsCustom._find_classes 2 0 0
meth VideoClsCustom._make_dataset 3 0 0
meth VideoClsCustom._sample_train_indices 2 0 0
meth VideoClsCustom._sample_val_indices 2 0 0
meth VideoClsCustom._sample_test_indices 2 0 0
meth VideoClsCustom._video_TSN_decord_loader 6 0 0
meth VideoClsCustom._video_TSN_decord_batch_loader 6 0 0
meth VideoClsCustom._video_TSN_decord_slowfast_loader 6 0 0
attr VideoClsCustom.root 1 0 0
attr VideoClsCustom.setting 1 0 0
attr VideoClsCustom.train 1 0 0
attr VideoClsCustom.test_mode 1 0 0
attr VideoClsCustom.is_color 1 0 0
attr VideoClsCustom.modality 1 0 0
attr VideoClsCustom.num_segments 1 0 0
attr VideoClsCustom.num_crop 1 0 0
attr VideoClsCustom.new_height 1 0 0
attr VideoClsCustom.new_width 1 0 0
attr VideoClsCustom.new_length 1 0 0
attr VideoClsCustom.new_step 1 0 0
attr VideoClsCustom.skip_length 1 0 0
attr VideoClsCustom.target_height 1 0 0
attr VideoClsCustom.target_width 1 0 0
attr VideoClsCustom.transform 1 0 0
attr VideoClsCustom.temporal_jitter 1 0 0
attr VideoClsCustom.name_pattern 1 0 0
attr VideoClsCustom.video_ext 1 0 0
attr VideoClsCustom.slowfast 1 0 0
attr VideoClsCustom.slow_temporal_stride 1 0 0
attr VideoClsCustom.fast_temporal_stride 1 0 0
attr VideoClsCustom.lazy_init 1 0 0
attr VideoClsCustom.ctx 1 0 0
attr VideoClsCustom.clips 1 0 0

decord.data.dataloader (17 missing, 0 any)

Symbol Typable Typed Any
meth ShardedDataLoader.init 15 0 0
meth ShardedDataLoader.iter 1 0 0
meth ShardedDataLoader.len 1 0 0

decord.data.kinetics.kinetics400_action (27 missing, 0 any)

Symbol Typable Typed Any
meth Kinetics400.init 24 0 0
meth Kinetics400Attr.init 1 0 0
attr Kinetics400Attr.num_class 1 0 0
attr Kinetics400Attr.classes 1 0 0

decord.data.transforms.action (86 missing, 0 any)

Symbol Typable Typed Any
meth VideoTenCrop.init 2 0 0
meth VideoTenCrop.forward 2 0 0
attr VideoTenCrop.size 1 0 0
meth VideoGroupTrainTransform.init 10 0 0
meth VideoGroupTrainTransform.fillFixOffset 3 0 0
meth VideoGroupTrainTransform.fillCropSize 3 0 0
meth VideoGroupTrainTransform.forward 2 0 0
attr VideoGroupTrainTransform.height 1 0 0
attr VideoGroupTrainTransform.width 1 0 0
attr VideoGroupTrainTransform.scale_ratios 1 0 0
attr VideoGroupTrainTransform.fix_crop 1 0 0
attr VideoGroupTrainTransform.more_fix_crop 1 0 0
attr VideoGroupTrainTransform.max_distort 1 0 0
attr VideoGroupTrainTransform.prob 1 0 0
attr VideoGroupTrainTransform.max_intensity 1 0 0
attr VideoGroupTrainTransform.mean 1 0 0
attr VideoGroupTrainTransform.std 1 0 0
meth VideoToTensor.init 2 0 0
meth VideoToTensor.forward 2 0 0
attr VideoToTensor.max_intensity 1 0 0
meth VideoNormalize.init 3 0 0
meth VideoNormalize.forward 2 0 0
attr VideoNormalize.mean 1 0 0
attr VideoNormalize.std 1 0 0
meth VideoCenterCrop.init 2 0 0
meth VideoCenterCrop.forward 2 0 0
attr VideoCenterCrop.size 1 0 0
meth VideoGroupValTransform.init 5 0 0
meth VideoGroupValTransform.forward 2 0 0
attr VideoGroupValTransform.mean 1 0 0
attr VideoGroupValTransform.std 1 0 0
attr VideoGroupValTransform.max_intensity 1 0 0
attr VideoGroupValTransform.size 1 0 0
meth VideoRandomHorizontalFlip.init 2 0 0
meth VideoRandomHorizontalFlip.forward 2 0 0
attr VideoRandomHorizontalFlip.prob 1 0 0
meth VideoMultiScaleCrop.init 6 0 0
meth VideoMultiScaleCrop.fillFixOffset 3 0 0
meth VideoMultiScaleCrop.fillCropSize 3 0 0
meth VideoMultiScaleCrop.forward 2 0 0
attr VideoMultiScaleCrop.height 1 0 0
attr VideoMultiScaleCrop.width 1 0 0
attr VideoMultiScaleCrop.scale_ratios 1 0 0
attr VideoMultiScaleCrop.fix_crop 1 0 0
attr VideoMultiScaleCrop.more_fix_crop 1 0 0
attr VideoMultiScaleCrop.max_distort 1 0 0

decord.function.base (8 missing, 0 any)

Symbol Typable Typed Any
prop BuiltinFunction.name 1 0 0
meth BundledFunction.init 2 0 0
meth BundledFunction.call 3 0 0
prop BundledFunction.name 1 0 0
attr BundledFunction.fn_list 1 0 0

decord.logging (2 missing, 0 any)

Symbol Typable Typed Any
func set_level 2 0 0

decord.ndarray (10 missing, 0 any)

Symbol Typable Typed Any
func array 3 0 0
func gpu 2 0 0
func zerocopy_from_numpy 2 0 0
meth NDArray.len 1 0 0
func cpu 2 0 0

decord.video_loader (14 missing, 0 any)

Symbol Typable Typed Any
meth VideoLoader.init 8 0 0
meth VideoLoader.del 1 0 0
meth VideoLoader.len 1 0 0
meth VideoLoader.reset 1 0 0
meth VideoLoader.next 1 0 0
meth VideoLoader.next 1 0 0
meth VideoLoader.iter 1 0 0

decord.video_reader (26 missing, 0 any)

Symbol Typable Typed Any
meth VideoReader.init 7 0 0
meth VideoReader.del 1 0 0
meth VideoReader.len 1 0 0
meth VideoReader.getitem 2 0 0
meth VideoReader.next 1 0 0
meth VideoReader._validate_indices 2 0 0
meth VideoReader.get_frame_timestamp 2 0 0
meth VideoReader.get_batch 2 0 0
meth VideoReader.get_key_indices 1 0 0
meth VideoReader.get_avg_fps 1 0 0
meth VideoReader.seek 2 0 0
meth VideoReader.seek_accurate 2 0 0
meth VideoReader.skip_frames 2 0 0

Type-Ignore Comments

No type-ignore comments.