Skip to content

Segmentation Fault When Using Decord and TorchVision Together #329

@johannukrow

Description

@johannukrow

First of all, I'd like to express my admiration for this project! It’s been incredibly helpful in my work, and I truly appreciate all the effort that has gone into building and maintaining it.
However, I’ve encountered an issue that seems to indicate an incompatibility between decord and torchvision. Here’s a minimal reproducible example:

from decord import VideoReader
from torchvision import models

models.segmentation.fcn_resnet50().cuda()

Error Encountered:

Segmentation fault (core dumped)

Environment Details:

torch: 2.3.1
torchmetrics: 1.6.0
torchvision: 0.18.1
decord: 0.6.0
Python: 3.11.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions