ToTensor is deprecated, although how to replace it is not 100% clear. Some discussion around it, can be found here: https://github.com/sensorium-competition/experanto/pull/72