Torchvision.transforms' has no attribute 'zenCompose'

Hi, I am trying to train a module ( which is based on pytorch. I follow all those instructions including installing pytorch (pip3 install --no-cache-dir torchvision). However, when I try to start training I get this error:

Traceback (most recent call last):
File “”, line 86, in
File “”, line 10, in main
File “/Users/kyle/Documents/MATLAB/DSS-py/”, line 34, in get_loader
transform = transforms.zenCompose([
AttributeError: module ‘torchvision.transforms’ has no attribute ‘zenCompose’

I’ve googled it and it is said to be caused by collision between versions. However, the error still exists after I uninstall torch & pytorch for several times. I have no idea what to do now and I am completely new to pytorch. Anyone know what could be the solution?

It seems DSS-python problem. (This issue should be closed)


  AceCoooool commented an hour ago
  It's my fault, please change line34 in to Compose)