Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- train_input_fn = tf.estimator.inputs.numpy_input_fn(
- x={"x": training_images},
- y={"labels1": training_labels1, "labels2": training_labels2},
- batch_size=BATCH_SIZE,
- num_epochs=None,
- shuffle=True)
- my_cnn_model.train(input_fn=train_input_fn,steps=NUM_TRAINING_STEPS)
- def build_cnn_model(features, labels, mode):
- AttributeError: 'dict' object has no attribute 'shape'
- def build_cnn_model(features, targets, mode):
- ValueError: model_fn (<function build_cnn_model at 0x7f88df9c9d08>) has following not expected args: ['targets']
Add Comment
Please, Sign In to add comment