I tried to reduce the batch size to 1 and number of workers to 0:
After which I get the error  in the line 164  for cyclegan.py as: :
File “E:/example/cyclegan.py”, line 164, in 
real_A = Variable(batch[“A”].type(Tensor))
TypeError: list indices must be integers or slices, not str