Michał Zientkiewicz
Michał Zientkiewicz
Have you re-installed DALI recently? An incompatible version of `nvimgcodec` as been released recently. Can you downgrade to a version older than 0.4? ```pip install nvidia-nvimgcodec-cu121.40.
@aafaqin The code above will work for `batch_size==1`. If you need multiple samples to be represented as a single tensor (NHWC), then you can do: ```Python o = pipe.run() o0...
1. The current implementation has, in fact `O(log2(N))` complexity, not `O(N)` as claimed in the description. 2. The proposed `log2(N)` solution has no advantage over existing code - in fact,...
> > GCC and Clang support `__builtin_clz` which is a constexpr function. The following code works fine (of course, it's just for int). > > I can also add the...
> > 1. The current implementation has, in fact `O(log2(N))` complexity, not `O(N)` as claimed in the description. > > 2. The proposed `log2(N)` solution has no advantage over existing...