Closed soroush-ziaeinejad closed 2 years ago
tensorflow-gpu==1.11.0 is not available for python 3.7 and newer!!
@hosseinfani
Can you please run: from dynamicgem.embedding.dynAERNN import DynAERNN on the system that you installed dynamicgem and let me know the result?
Thanks
I think commenting "from future import annotations" out in "site-packages\seaborn-0.12.0b2-py3.6.egg\seaborn\axisgrid.py" will resolve the problem
Now it's training
- When calling AERNN, it calls future library which is available from python 3.7. Thus, in yml file, python 3.7 or 3.8 should be mentioned.
but the dynamicgem works in python 3.6. How this is possible?
tensorflow-gpu==1.11.0 is not available for python 3.7 and newer!!
I know. we deal with gpu issues in the next round of code refactoring.
- When calling AERNN, it calls future library which is available from python 3.7. Thus, in yml file, python 3.7 or 3.8 should be mentioned.
but the dynamicgem works in python 3.6. How this is possible?
The AERNN calls another library (seaborn) which import future library and this library is not available for python 3.6 and older. I commented out import future and it worked fine. Now the cpl part 2 (the bottleneck) is running on the workstation.
@hosseinfani Also the apl is almost ready but it needs user clusters. After running of cpl and saving user clusters, I can continue work on apl.
from dynamicgem.embedding.dynAERNN import DynAERNN
@soroush-ziaeinejad I found the reason. DynamicGem wants seaborn>=0.9.0. The current version of seaborn (0.12) needs python 3.7. I believe if you put seaborn==0.9.0 or 0.11.0, in our environment.yml and requirement.txt, dynamicgem sees that and won't look for latest version. I checked it and it worked.
Epochs: 150 Dimension: 128 embedding.max(): 0 embedding.min(): 0
Epochs: 10 Dimension: 64 embedding.max(): 0.0017 embedding.min(): -0.0019
Epochs: 10 Dimension: 128 embedding.max(): 0.0054 embedding.min(): -0.0061