Janusz Lisiecki
Janusz Lisiecki
Still, if you like using [`torch_python_function`](https://docs.nvidia.com/deeplearning/dali/user-guide/docs/operations/nvidia.dali.fn.torch_python_function.html), just use [`torch.cuda.device`](https://pytorch.org/docs/stable/generated/torch.cuda.device.html#torch.cuda.device) inside the callable.
Hi @rachelglenn, To move data from CPU to GPU inside the pipeline, please: ``` def define_graph(self): data= self.load_data() data= data.gpu() return data ```
I will add this to our ToDo list. Seems doable.
Hi @sthoduka, > If I can specify a different stride for each video (stride = video_length / N) I'm afraid it is not currently possible, still we will add this...
How to use a single pipeline function to decode a video file (ex: .mp4) into video AND audio tensors
Hi @zade-twelvelabs, Thank you for reaching out. Currently, DALI doesn't support decoding audio from mp4 files. The current audio decoding capabilities (and the flow) are described [here](https://docs.nvidia.com/deeplearning/dali/user-guide/docs/examples/audio_processing/audio_decoder.html). What you can...
Let me check this and get back to you with more info.
It seems that the video decoder incorrectly returns frame/time skipping the frame we are expecting to get. Let me check this with a video decoder team.
Tracked internally as nv4899180.
I'm afraid there is not. It is not up to my team now.
I'm afraid I didn't get any update from the relevant team.