Thank you for your reply. I tried the commamd  and the same error accured again. My environment is:

Anaconda(python):3.6.8
Pytorch:1.2.0+cuda9.2
DALI:0.13.0
System:ubuntu16.04 with 2 gpus

I only changed the path of the dataset in the code and then run it.