Closed Seairis7 closed 4 years ago
Do you have tensorflow installed?
@AliaksandrSiarohin yes i have installed tensorflow 1.14.0
Guess you would require 2.0.8 keras anyway. But you can change this line to: import tensorflow as ktf
@AliaksandrSiarohin while i start train in dsc it says:: Discrepancy between trainable weights and collected trainable weights, did you set model.trainable
without calling model.compile
after ?
what is the problem here??
Version problem most likely. I use keras=2.0.8, and tensorflow=1.5
File "/home/abc/Desktop/pose-gan/pose_transform.py", line 3, in
from keras.backend import tf as ktf
ImportError: cannot import name tf