dmlc / decord

An efficient video loader for deep learning with smart shuffling that's super easy to digest
Apache License 2.0
1.88k stars 160 forks source link

Can support multi-CPU or -GPU? #266

Open liuxianyi opened 1 year ago

liuxianyi commented 1 year ago

A very excellent tool, It can read videos conveniently like this.

vr = VideoReader(src_video_path, ctx=cpu(0))

but I want to use multi-CPU or -GPU to accelarate the progress. Can it support this?

vr = VideoReader(src_video_path, ctx=cpu(0, 1, 2))
BinZhu-ece commented 1 year ago

A very excellent tool, It can read videos conveniently like this.

vr = VideoReader(src_video_path, ctx=cpu(0))

but I want to use multi-CPU or -GPU to accelarate the progress. Can it support this?

vr = VideoReader(src_video_path, ctx=cpu(0, 1, 2))

I also want to konw it!

zhouxincheng commented 1 month ago

+1