affinelayer / pix2pix-tensorflow

Tensorflow port of Image-to-Image Translation with Conditional Adversarial Nets https://phillipi.github.io/pix2pix/
MIT License
5.07k stars 1.3k forks source link

Key generator/encoder_8/batchnorm/offset/Adam_1 not found in checkpoint #38

Open Prakash19921206 opened 7 years ago

Prakash19921206 commented 7 years ago

hi i tried to run on pretrained model (Facades) here's what i did, downloaded facades model from BtoA and extracted archive file to facades_train directory (in same pix2pix-tensorflow folder) i placed an jpg image in facades/val directory note: tensorflow version: 1.0.1, python version 3.5, window 7 64bit

now when i run following command python pix2pix.py --mode test --output_dir facades_test --input_dir facades/val --checkpoint facades_train i got below output (sorry for posting such long output!)

loaded ndf = 64 loaded which_direction = BtoA loaded lab_colorization = False loaded ngf = 64 aspect_ratio = 1.0 batch_size = 1 beta1 = 0.5 checkpoint = facades_train display_freq = 0 flip = False gan_weight = 1.0 input_dir = facades/val l1_weight = 100.0 lab_colorization = False lr = 0.0002 max_epochs = None max_steps = None mode = test ndf = 64 ngf = 64 output_dir = facades_test output_filetype = png progress_freq = 50 save_freq = 5000 scale_size = 256 seed = 1188493113 summary_freq = 100 trace_freq = 0 which_direction = BtoA E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "BestSplits" device_type: "CPU"') for unknown op: BestSplits E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "CountExtremelyRandomStats " device_type: "CPU"') for unknown op: CountExtremelyRandomStats E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "FinishedNodes" device_typ e: "CPU"') for unknown op: FinishedNodes E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "GrowTree" device_type: "C PU"') for unknown op: GrowTree E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "ReinterpretStringToFloat" device_type: "CPU"') for unknown op: ReinterpretStringToFloat E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "SampleInputs" device_type : "CPU"') for unknown op: SampleInputs E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "ScatterAddNdim" device_ty pe: "CPU"') for unknown op: ScatterAddNdim E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "TopNInsert" device_type: "CPU"') for unknown op: TopNInsert E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "TopNRemove" device_type: "CPU"') for unknown op: TopNRemove E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "TreePredictions" device_t ype: "CPU"') for unknown op: TreePredictions E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "UpdateFertileSlots" devic e_type: "CPU"') for unknown op: UpdateFertileSlots examples count = 1 parameter_count = 57183616 loading model from checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_8/batchn orm/offset/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_2/batchn orm/scale/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_2/batchn orm/scale/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_4/deconv /filter/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_2/deconv /filter/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_2/deconv /filter/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key discriminator/layer_3/batc hnorm/scale/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key discriminator/layer_3/conv /filter/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key discriminator/layer_3/conv /filter/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key discriminator/layer_4/batc hnorm/offset/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key discriminator/layer_4/batc hnorm/offset/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_4/batchn orm/scale/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key discriminator/layer_4/batc hnorm/scale/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_4/batchn orm/scale/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key discriminator/layer_4/batc hnorm/scale/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key discriminator/layer_4/conv /filter/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key discriminator/layer_4/conv /filter/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_4/batchn orm/offset/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key discriminator/layer_5/conv /filter/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key discriminator/layer_5/conv /filter/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key discriminator/layer_1/conv /filter/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_4/batchn orm/offset/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key discriminator/layer_1/conv /filter/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key discriminator/layer_2/batc hnorm/offset/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key discriminator/layer_2/batc hnorm/offset/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_3/deconv /filter/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key discriminator/layer_2/batc hnorm/scale/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key discriminator/layer_2/batc hnorm/scale/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_3/deconv /filter/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key discriminator/layer_2/conv /filter/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key discriminator/layer_2/conv /filter/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_3/batchn orm/scale/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key discriminator/layer_3/batc hnorm/offset/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_3/batchn orm/scale/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key discriminator/layer_3/batc hnorm/offset/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key discriminator/layer_3/batc hnorm/scale/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_6/batchn orm/scale/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_3/batchn orm/offset/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_3/batchn orm/offset/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_6/batchn orm/scale/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_2/conv/f ilter/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_4/conv/f ilter/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_4/conv/f ilter/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_5/batchn orm/offset/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_2/batchn orm/scale/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_5/batchn orm/offset/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_2/batchn orm/scale/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_5/batchn orm/scale/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_5/batchn orm/scale/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_5/conv/f ilter/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_5/conv/f ilter/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_2/batchn orm/offset/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_6/batchn orm/offset/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_2/batchn orm/offset/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_6/batchn orm/offset/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_6/deconv /filter/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_6/deconv /filter/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_1/conv/f ilter/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_7/batchn orm/offset/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_1/conv/f ilter/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_7/batchn orm/offset/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_8/deconv /filter/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_7/batchn orm/scale/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_8/deconv /filter/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_7/batchn orm/scale/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_7/deconv /filter/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_7/deconv /filter/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_8/batchn orm/offset/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_8/batchn orm/offset/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_4/deconv /filter/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_8/batchn orm/scale/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_8/batchn orm/scale/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_5/batchn orm/offset/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_8/batchn orm/offset/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_5/batchn orm/offset/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_5/batchn orm/scale/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_5/batchn orm/scale/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_7/conv/f ilter/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_5/deconv /filter/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_7/conv/f ilter/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_5/deconv /filter/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_6/batchn orm/offset/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_6/batchn orm/offset/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_8/batchn orm/scale/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_7/batchn orm/scale/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_8/batchn orm/scale/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_7/batchn orm/scale/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_8/conv/f ilter/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_8/conv/f ilter/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_7/batchn orm/offset/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_7/batchn orm/offset/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_6/conv/f ilter/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_2/conv/f ilter/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_6/conv/f ilter/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_3/batchn orm/offset/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_3/batchn orm/offset/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_3/batchn orm/scale/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_6/batchn orm/scale/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_3/batchn orm/scale/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_6/batchn orm/scale/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_3/conv/f ilter/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_3/conv/f ilter/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_4/batchn orm/offset/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_4/batchn orm/offset/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_2/batchn orm/offset/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_4/batchn orm/scale/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/encoder_4/batchn orm/scale/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_2/batchn orm/offset/Adam not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_1/deconv /filter/Adam_1 not found in checkpoint W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:993] Not found: Key generator/decoder_1/deconv /filter/Adam not found in checkpoint Traceback (most recent call last): File "C:\Users\Admin\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\client\session.py", line 1022, in _do_call return fn(*args) File "C:\Users\Admin\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\client\session.py", line 1004, in _run_fn status, run_metadata) File "C:\Users\Admin\AppData\Local\Programs\Python\Python35\Lib\contextlib.py", line 66, in exit next(self.gen) File "C:\Users\Admin\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 466, in raise_exce ption_on_not_ok_status pywrap_tensorflow.TF_GetCode(status)) tensorflow.python.framework.errors_impl.NotFoundError: Key generator/encoder_8/batchnorm/offset/Adam_1 not found in checkpoint [[Node: save/RestoreV2_161 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2 _161/tensor_names, save/RestoreV2_161/shape_and_slices)]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "pix2pix.py", line 810, in main() File "pix2pix.py", line 726, in main saver.restore(sess, checkpoint) File "C:\Users\Admin\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\training\saver.py", line 1428, in restore {self.saver_def.filename_tensor_name: save_path}) File "C:\Users\Admin\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\client\session.py", line 767, in run run_metadata_ptr) File "C:\Users\Admin\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\client\session.py", line 965, in _run feed_dict_string, options, run_metadata) File "C:\Users\Admin\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\client\session.py", line 1015, in _do_run target_list, options, run_metadata) File "C:\Users\Admin\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\client\session.py", line 1035, in _do_call raise type(e)(node_def, op, message) tensorflow.python.framework.errors_impl.NotFoundError: Key generator/encoder_8/batchnorm/offset/Adam_1 not found in checkpoint [[Node: save/RestoreV2_161 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2 _161/tensor_names, save/RestoreV2_161/shape_and_slices)]]

Caused by op 'save/RestoreV2_161', defined at: File "pix2pix.py", line 810, in main() File "pix2pix.py", line 716, in main saver = tf.train.Saver(max_to_keep=1) File "C:\Users\Admin\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\training\saver.py", line 1040, in init self.build() File "C:\Users\Admin\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\training\saver.py", line 1070, in build restore_sequentially=self._restore_sequentially) File "C:\Users\Admin\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\training\saver.py", line 675, in build restore_sequentially, reshape) File "C:\Users\Admin\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\training\saver.py", line 402, in _AddRestoreOps tensors = self.restore_op(filename_tensor, saveable, preferred_shard) File "C:\Users\Admin\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\training\saver.py", line 242, in restore_op [spec.tensor.dtype])[0]) File "C:\Users\Admin\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\ops\gen_io_ops.py", line 668, in restore_v2 dtypes=dtypes, name=name) File "C:\Users\Admin\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 763, in apply_o p op_def=op_def) File "C:\Users\Admin\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\framework\ops.py", line 2327, in create_op original_op=self._default_original_op, op_def=op_def) File "C:\Users\Admin\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\framework\ops.py", line 1226, in init self._traceback = _extract_stack()

NotFoundError (see above for traceback): Key generator/encoder_8/batchnorm/offset/Adam_1 not found in checkpoint [[Node: save/RestoreV2_161 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2 _161/tensor_names, save/RestoreV2_161/shape_and_slices)]]

how to fix this error? Thanks

dolokov commented 7 years ago

Hi Prakash,

as written in the README

There are also links to pre-trained models alongside each dataset, note that these pre-trained models require the Tensorflow 0.12.1 version of pix2pix.py since they have not been regenerated with the 1.0.0 release:

You could downgrade tf or better train your own models :)

Cheers Alex

julien2512 commented 7 years ago

Hi,

You might be in place where dependencies can't be round.

Regards, Julien

Le 2 juin 2017 12:33 AM, "Alexander Dolokov" notifications@github.com a écrit :

Hi Prakash,

as written in the README

There are also links to pre-trained models alongside each dataset, note that these pre-trained models require the Tensorflow 0.12.1 version of pix2pix.py since they have not been regenerated with the 1.0.0 release:

You could downgrade tf or better train your own models :)

Cheers Alex

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/affinelayer/pix2pix-tensorflow/issues/38#issuecomment-305639117, or mute the thread https://github.com/notifications/unsubscribe-auth/AAzLSRxbklAHaLKaB4UF3mIReat7Mp7mks5r_zwpgaJpZM4Nhnv0 .

Prakash19921206 commented 7 years ago

@dolokov, Thanks for your reply. i downgraded to TF 0.12.1 upon running the same command
python pix2pix.py --mode test --output_dir facades_test --input_dir facades/val --checkpoint facades_train

i got below error (btw that was the reason i upgraded to TF 1.0.1)

Traceback (most recent call last):
  File "pix2pix.py", line 810, in <module>
    main()
  File "pix2pix.py", line 543, in main
    raise Exception("Tensorflow version 1 required")
Exception: Tensorflow version 1 required

@julien2512 , Which dependencies could i have been missing? Thank you

julien2512 commented 7 years ago

@Prakash19921206 I got the same error (or near by) one time as I launched it in the wrong directory. It might not be your case thought.

Prakash19921206 commented 7 years ago

@julien2512 , Thanks for your valuable comment. i'm running from the same place where pix2pix.py

did anybody else have this issue?

taoxinyi commented 7 years ago

@Prakash19921206 I have the same problem. How to deal with it?

Prakash19921206 commented 7 years ago

don't know. still didn't get output