I copy img_001.png from set5 to the root of the project folder and then run:
$ python sr.py --file img_001.png --model_name L7_F32to8_G1.20_NIN_A24_B8_BI_D0.80_prelu_yang_bsd_4
Then I got the following error:
`
DCSCN -------------------------------------
2017/9/15 0:6:12 [dcscn_L7_F32to8_G1.20_NIN_A24_B8_BI_D0.80_prelu_yang_bsd_4]
Feature:96 76 65 55 47 39 32 Total: (410) Complexity:244,193 Receptive Fields:15
conv0/conv_W:0 (3, 3, 1, 96)=864, conv0/conv_B:0 96, conv0/prelu/conv0_prelu:0 96, conv1/conv_W:0 (3, 3, 96, 76)=65664, conv1/conv_B:0 76, conv1/prelu/conv1_prelu:0 76, conv2/conv_W:0 (3, 3, 76, 65)=44460, conv2/conv_B:0 65, conv2/prelu/conv2_prelu:0 65, conv3/conv_W:0 (3, 3, 65, 55)=32175, conv3/conv_B:0 55, conv3/prelu/conv3_prelu:0 55, conv4/conv_W:0 (3, 3, 55, 47)=23265, conv4/conv_B:0 47, conv4/prelu/conv4_prelu:0 47, conv5/conv_W:0 (3, 3, 47, 39)=16497, conv5/conv_B:0 39, conv5/prelu/conv5_prelu:0 39, conv6/conv_W:0 (3, 3, 39, 32)=11232, conv6/conv_B:0 32, conv6/prelu/conv6_prelu:0 32, A1/conv_W:0 (1, 1, 410, 64)=26240, A1/conv_B:0 64, A1/prelu/A1_prelu:0 64, B1/conv_W:0 (1, 1, 410, 32)=13120, B1/conv_B:0 32, B1/prelu/B1_prelu:0 32, B2/conv_W:0 (3, 3, 32, 32)=9216, B2/conv_B:0 32, B2/prelu/B2_prelu:0 32, L/conv_W:0 (1, 1, 96, 4)=384,
Total 31 variables, 244,193 params
Model Initialised.
2017-09-15 00:06:14.407804: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.409125: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.410852: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.412998: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.415173: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.415535: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.417138: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.417145: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.421739: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.422484: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.422607: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.422591: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.423801: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.426588: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.427108: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.427570: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.428823: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.430250: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.430774: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.432214: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.432995: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.433159: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.433920: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.434185: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.434398: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.435313: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.436181: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.437035: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.437051: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.437489: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.437582: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.437690: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.439742: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.440607: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.441015: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.442150: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.444129: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.444212: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.445271: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.444945: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.448664: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.450690: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.450777: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.453682: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.453631: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.453609: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.455588: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.455694: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.458604: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.458700: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.462923: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.462951: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.464283: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.464367: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.466582: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.467657: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.468162: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.468365: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.470517: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.470707: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.470844: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.470972: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.471242: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.471381: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.472487: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.472653: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.473281: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.473426: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.473613: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.473793: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.473860: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.474886: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.475011: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.475239: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.475808: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.476009: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.476221: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.476401: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.477846: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.477955: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.478424: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.478589: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.478724: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.478909: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.478982: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.479141: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.480150: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
2017-09-15 00:06:14.480258: W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
Traceback (most recent call last):
File "/opt/anaconda2/envs/tf121py35/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1139, in _do_call
return fn(*args)
File "/opt/anaconda2/envs/tf121py35/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1121, in _run_fn
status, run_metadata)
File "/opt/anaconda2/envs/tf121py35/lib/python3.5/contextlib.py", line 66, in exit
next(self.gen)
File "/opt/anaconda2/envs/tf121py35/lib/python3.5/site-packages/tensorflow/python/framework/errors_impl.py", line 466, in raise_exception_on_not_ok_status
pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.InvalidArgumentError: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "sr.py", line 49, in
tf.app.run()
File "/opt/anaconda2/envs/tf121py35/lib/python3.5/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "sr.py", line 26, in main
model.load_model()
File "/data1/xxx/cv/dcscn-super-resolution/DCSCN.py", line 417, in load_model
self.saver.restore(self.sess, filename)
File "/opt/anaconda2/envs/tf121py35/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 1548, in restore
{self.saver_def.filename_tensor_name: save_path})
File "/opt/anaconda2/envs/tf121py35/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 789, in run
run_metadata_ptr)
File "/opt/anaconda2/envs/tf121py35/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 997, in _run
feed_dict_string, options, run_metadata)
File "/opt/anaconda2/envs/tf121py35/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1132, in _do_run
target_list, options, run_metadata)
File "/opt/anaconda2/envs/tf121py35/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1152, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
Caused by op 'save/Assign_78', defined at:
File "sr.py", line 49, in
tf.app.run()
File "/opt/anaconda2/envs/tf121py35/lib/python3.5/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "sr.py", line 23, in main
model.build_summary_saver()
File "/data1/xxx/cv/dcscn-super-resolution/DCSCN.py", line 402, in build_summary_saver
self.saver = tf.train.Saver(max_to_keep=None)
File "/opt/anaconda2/envs/tf121py35/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 1139, in init
self.build()
File "/opt/anaconda2/envs/tf121py35/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 1170, in build
restore_sequentially=self._restore_sequentially)
File "/opt/anaconda2/envs/tf121py35/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 691, in build
restore_sequentially, reshape)
File "/opt/anaconda2/envs/tf121py35/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 419, in _AddRestoreOps
assign_ops.append(saveable.restore(tensors, shapes))
File "/opt/anaconda2/envs/tf121py35/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 155, in restore
self.op.get_shape().is_fully_defined())
File "/opt/anaconda2/envs/tf121py35/lib/python3.5/site-packages/tensorflow/python/ops/state_ops.py", line 271, in assign
validate_shape=validate_shape)
File "/opt/anaconda2/envs/tf121py35/lib/python3.5/site-packages/tensorflow/python/ops/gen_state_ops.py", line 45, in assign
use_locking=use_locking, name=name)
File "/opt/anaconda2/envs/tf121py35/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py", line 767, in apply_op
op_def=op_def)
File "/opt/anaconda2/envs/tf121py35/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 2506, in create_op
original_op=self._default_original_op, op_def=op_def)
File "/opt/anaconda2/envs/tf121py35/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 1269, in init
self._traceback = _extract_stack()
InvalidArgumentError (see above for traceback): Assign requires shapes of both tensors to match. lhs shape= [39] rhs shape= [11]
[[Node: save/Assign_78 = Assign[T=DT_FLOAT, _class=["loc:@conv5/conv_B"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](conv5/conv_B/Adam, save/RestoreV2_78/_59)]]
`