xdxuyang / Deep-Spectral-Clustering-using-Dual-Autoencoder-Network

MIT License
53 stars 17 forks source link

TF dependencies #5

Open ajahanba opened 3 years ago

ajahanba commented 3 years ago

Hi,

I think this may be related to tf version, and I recommend using version 1.2.

Best regards,

Xu

ThibaultGROUEIX notifications@github.com 于2020年5月16日周六 下午9:47写道:

There many other bug after that, it seems related to tf version. I reverted to tf==1.5

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/xdxuyang/Deep-Spectral-Clustering-using-Dual-Autoencoder-Network/issues/2#issuecomment-629648416, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJI2VRKPXZYOMWIT6E7J2HTRR2KOBANCNFSM4NC5OOLQ .

Originally posted by @xdxuyang in https://github.com/xdxuyang/Deep-Spectral-Clustering-using-Dual-Autoencoder-Network/issues/2#issuecomment-629650716

ajahanba commented 3 years ago

It seems part of the code requires tf2 though. Can you confirm which tf version to use? I downgraded to 1.5 and it now complains about parts that require to be tf2

Traceback (most recent call last): File "src/applications/run.py", line 10, in from core.data import get_data File "/data/Deep-Spectral-Clustering-using-Dual-Autoencoder-Network/src/core/data.py", line 2, in from keras.datasets import mnist File "/home/anaconda3/envs/tensorflow1.2/lib/python3.5/site-packages/keras/init.py", line 21, in from tensorflow.python import tf2