text-to-image
text-to-image copied to clipboard
checkpoint files while generating image
when run command --> python generate_images.py --model_path=Data/Models/latest_model_flowers_temp.ckpt --n_images=8
using a Pre-trained Models.
I got this error :
`2018-02-01 05:17:12.967163: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX
Traceback (most recent call last):
File "generate_images.py", line 109, in
Caused by op u'save/RestoreV2_3', defined at:
File "generate_images.py", line 109, in
NotFoundError (see above for traceback): Tensor name "d_bn1/moving_variance" not found in checkpoint files Data/Models/latest_model_flowers_temp.ckpt [[Node: save/RestoreV2_3 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2_3/tensor_names, save/RestoreV2_3/shape_and_slices)]]`
My os : ubuntu 16.04 TF : 1.5
Same here!
I think we must download some files with latest_model_flowers_temp.ckpt
like checkpoint
, .meta
or .index
, maybe.. I'm just guessing.
Hi guys, I tried reproducing results from this repo. Following are the variables that got created for mean and varaince.
(<tf.Tensor 'g_bn0_1/g_bn0/moments/Squeeze:0' shape=(512,) dtype=float32>, <tf.Tensor 'g_bn0_1/g_bn0/moments/Squeeze_1:0' shape=(512,) dtype=float32>) (<tf.Tensor 'g_bn1_1/g_bn1/moments/Squeeze:0' shape=(256,) dtype=float32>, <tf.Tensor 'g_bn1_1/g_bn1/moments/Squeeze_1:0' shape=(256,) dtype=float32>) (<tf.Tensor 'g_bn2_1/g_bn2/moments/Squeeze:0' shape=(128,) dtype=float32>, <tf.Tensor 'g_bn2_1/g_bn2/moments/Squeeze_1:0' shape=(128,) dtype=float32>) (<tf.Tensor 'g_bn3_1/g_bn3/moments/Squeeze:0' shape=(64,) dtype=float32>, <tf.Tensor 'g_bn3_1/g_bn3/moments/Squeeze_1:0' shape=(64,) dtype=float32>) (<tf.Tensor 'd_bn1_1/d_bn1/moments/Squeeze:0' shape=(128,) dtype=float32>, <tf.Tensor 'd_bn1_1/d_bn1/moments/Squeeze_1:0' shape=(128,) dtype=float32>) (<tf.Tensor 'd_bn2_1/d_bn2/moments/Squeeze:0' shape=(256,) dtype=float32>, <tf.Tensor 'd_bn2_1/d_bn2/moments/Squeeze_1:0' shape=(256,) dtype=float32>) (<tf.Tensor 'd_bn3_1/d_bn3/moments/Squeeze:0' shape=(512,) dtype=float32>, <tf.Tensor 'd_bn3_1/d_bn3/moments/Squeeze_1:0' shape=(512,) dtype=float32>) (<tf.Tensor 'd_bn4_1/d_bn4/moments/Squeeze:0' shape=(512,) dtype=float32>, <tf.Tensor 'd_bn4_1/d_bn4/moments/Squeeze_1:0' shape=(512,) dtype=float32>) (<tf.Tensor 'd_bn1_2/d_bn1/moments/Squeeze:0' shape=(128,) dtype=float32>, <tf.Tensor 'd_bn1_2/d_bn1/moments/Squeeze_1:0' shape=(128,) dtype=float32>) (<tf.Tensor 'd_bn2_2/d_bn2/moments/Squeeze:0' shape=(256,) dtype=float32>, <tf.Tensor 'd_bn2_2/d_bn2/moments/Squeeze_1:0' shape=(256,) dtype=float32>) (<tf.Tensor 'd_bn3_2/d_bn3/moments/Squeeze:0' shape=(512,) dtype=float32>, <tf.Tensor 'd_bn3_2/d_bn3/moments/Squeeze_1:0' shape=(512,) dtype=float32>) (<tf.Tensor 'd_bn4_2/d_bn4/moments/Squeeze:0' shape=(512,) dtype=float32>, <tf.Tensor 'd_bn4_2/d_bn4/moments/Squeeze_1:0' shape=(512,) dtype=float32>) (<tf.Tensor 'd_bn1_3/d_bn1/moments/Squeeze:0' shape=(128,) dtype=float32>, <tf.Tensor 'd_bn1_3/d_bn1/moments/Squeeze_1:0' shape=(128,) dtype=float32>) (<tf.Tensor 'd_bn2_3/d_bn2/moments/Squeeze:0' shape=(256,) dtype=float32>, <tf.Tensor 'd_bn2_3/d_bn2/moments/Squeeze_1:0' shape=(256,) dtype=float32>) (<tf.Tensor 'd_bn3_3/d_bn3/moments/Squeeze:0' shape=(512,) dtype=float32>, <tf.Tensor 'd_bn3_3/d_bn3/moments/Squeeze_1:0' shape=(512,) dtype=float32>) (<tf.Tensor 'd_bn4_3/d_bn4/moments/Squeeze:0' shape=(512,) dtype=float32>, <tf.Tensor 'd_bn4_3/d_bn4/moments/Squeeze_1:0' shape=(512,) dtype=float32>)
I am getting this error:
Tensor name "d_bn1/d_bn1_1/d_bn1/moments/Squeeze/ExponentialMovingAverage" not found in checkpoint files Data/Models/latest_model_flowers_temp.ckpt
As I can see, "d_bn1_1/d_bn1/moments/Squeeze/ExponentialMovingAverage" is already available, but this is not available in checkpoint file.
Kindly let me know where I am going wrong.
Tensorflow : 1.6
Is there a solution already?
Is there a solution already?
hey did you find any solution??