DALI v0.6.1
Pre-release
Pre-release
Bug fixes
- Deliver exactly 1 epoch from DALIGenericIterator in pyTorch (#391)
- Avoid adding MakeContiguous twice for the same output (#405)
- Stop returning memory allocated with new from the C API (#396)
- Add missing argument in TF ResNet demo README (#397)
- Fix error message formatting in python (#387)
- TensorView fixes. (#378)
- Fix spelling (#372)
- Fix build warnings in the video loader operator. (#368)
- Fix device selection in PipelinedExecutor. (#361)
- Blacklist operators that should not be exposed (#355)
Improvements
- Add optional resize_longer argument to resize op. Extend COCOReader op to optionally return img_ids. Add optional min_canvas_size argument to paste op. (#402)
- Make TF plugin to be compiled during installation (#398)
- Add building DALI against nightly TF release (#390)
- TensorWrapper implementation for testing (#401)
- Add notebook example for VideoReader (#376)
- ArgumentKey impl for Testing API (#383)
- Kernel API design (#330)
- Change names from yuv to ycbcr in VideoReader for clarity (#385)
- Plugin Manager (#364)
- Make mixed in docs ops table start with capital letter (#384)
- Apply modernize-use-override (#381)
- Add gpu box encoder (#371)
- Add auto_reset parameter for MXNet and PyTorch iterators (#379)
- Move operators to separate, static libdali_operators.a lib (#374)
- Testing API Proposal (#338)
- Add non-owning Tensor datatypes for kernels (#346)
- Add Step and multiple containers support in VideoReader (#360)
- Add guards for CUuid for cuda 10 (#375)
- Dynamic linking for CUDA driver api (#373)
- Add normalized and image_type arguments for VideoReader (#351)
- Change nvcuvid link to dyn + hint for FFmpeg (#370)
- Add fallback for nvJPEG to the CPU (#365)
- Add new, faster RapidJSON parser (#339)
- Change cpp #ifdef to #if in VideoReader (#359)
- Add PyTorch and MXNet example with various readers (#343)
- Make '-werror' optional in CMake (#353)
- Add description of commit message style to Contributing guide (#350)
- Remove semicolons in plugins (#345)
Breaking API changes
- PyTorch iterator returns exact number of samples per epoch, so last batch could be smaller if epoch size is not divisible by the batch size. To keep the old behavior when data is wrapped up use “stop_at_epoch” argument
Known issues:
- New Video reader operator requires NVIDIA VIDEO CODEC SDK support in the platform. NVIDIA GPU Cloud (NGC) optimized containers lacks this functionality in the default configuration prior to 19.01. To enable it please run the container with the ‘video’ capability enabled, ie.:
-e "NVIDIA_DRIVER_CAPABILITIES=compute,utility,video"
Binary builds
Install via pip:
pip install --extra-index-url https://developer.download.nvidia.com/compute/redist nvidia-dali==0.6.1
Or use direct download links:
- https://developer.download.nvidia.com/compute/redist/nvidia-dali/nvidia_dali-0.6.1-608405-cp27-cp27mu-manylinux1_x86_64.whl
- https://developer.download.nvidia.com/compute/redist/nvidia-dali/nvidia_dali-0.6.1-608405-cp34-cp34m-manylinux1_x86_64.whl
- https://developer.download.nvidia.com/compute/redist/nvidia-dali/nvidia_dali-0.6.1-608405-cp35-cp35m-manylinux1_x86_64.whl
- https://developer.download.nvidia.com/compute/redist/nvidia-dali/nvidia_dali-0.6.1-608405-cp36-cp36m-manylinux1_x86_64.whl
- https://developer.download.nvidia.com/compute/redist/nvidia-dali-tf-plugin/nvidia-dali-tf-plugin-0.6.1.tar.gz
FFmpeg source code: