The code was implemented by Python2.6 and Tensorflow1.9. Try other versions out.
- Download dataset https://pan.baidu.com/s/1FpIwzU33wW1RCciR6TAbAQ
- Place dataset in the right directory
cd Digital-J-DCDA
python trainLenet.py
cd Office-J-DCDA
python train_J_DCDA.py