I am saving and restoring a TensorFlow model using tf.train.Saver save and restore. In the restore process I am loading new input data. The restore method throws this error:
InvalidArgumentError (see above for traceback): Assign requires shapes of both tensors to match. lhs shape= [1334,3] rhs shape= [1246,3] [[Node: save/Assign_6 = Assign[T=DT_FLOAT, _class=["loc:@Variable_2"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/cpu:0"](Variable_2, save/RestoreV2_6)]]
This seems to say that the problem is in Variable_2 but how does one determine which variable in the code corresponds to Variable_2?