Skip to content

AttributeError: module 'nvidia.dali.ops' has no attribute 'nvJPEGDecoder' #5

@hangon666

Description

@hangon666

Traceback (most recent call last):
File "test.py", line 32, in
frontalize(saved_model, datapath, 3)
File "test.py", line 16, in frontalize
test_pipe = ImagePipeline(datapath, image_size=128, random_shuffle=False, batch_size=mtest)
File "/home/hanchao/Wu/frontalization/data.py", line 108, in init
self.decode = ops.nvJPEGDecoder(device = "mixed", output_type = types.RGB)
AttributeError: module 'nvidia.dali.ops' has no attribute 'nvJPEGDecoder'

When i try to run the code, this error ocurred, how can i fix it ?

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