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 ?