weiiew

Results 5 comments of weiiew

> 我发现,c++ cuda中计算rgb时采用的位置是 index (假设这是r), index + batch * width * height (假设这是g), index + 2 * batch * width * height(假设这是b),那么这里计算的是image[0][b_i][w_i][h_i] (r),image[1][b_i][w_i][h_i] (g),image[2][b_i][w_i][h_i] (b).那么调用时image的维度应当是[3][batch][width][height]才对? 否则计算的rgb值都不一定在同一个pixel上和同一个通道上才对? > > 是否是我理解有误了?我看python中调用时似乎维度使用的是[batch][channel(3)][width][height] >...

> same problem I fixed this problem by transferring the original CUDA code from c++ to python(numba.cuda). Maybe it avoids some complying bugs. (I tried to use pybind11 but it...

@ironheads hello, Thanks for your response and sharing! I did not dive deep as you did thus I'd like to appreciate your information. Attached below is my python(numba.cuda) code. I...

@ironheads Thank you so much! I will do further research on it.

Do you have `ImageMagick` library installed? I believe this error was triggered by failed calling `mogrify` command.