Test set accuracy of 1. How to debug

I am trying to create a simple neural network using tensorflow as a learning exercise. These are the details of the NN I created.. def multilayer_perceptron(x, weights, biases, keep_prob): layer_1 = tf.add(tf.matmul(x, weights[‘h1’]), biases[‘b1’]) layer_1 = tf.nn.relu(layer_1) layer_1 = tf.nn.dropout(layer_1, keep_prob) out_layer = tf.matmul(layer_1, weights[‘out’]) + biases[‘out’] return out_layer n_hidden_1 = 38 n_input = train_x.shape[1]…

Details

How to generate the proper RestTemplate usage from curl?

I have a working curl command that is below: curl -v -H “Content-Type:application/octet-stream” \ -H “x-amz-server-side-encryption:aws:kms” \ -H “x-amz-server-side-encryption-aws-kms-key-id:abcdef81-abcd-4c85-b1d8-ee540d0a5f5d” \ –upload-file /Users/fd/Downloads/video.mp4 \ ‘https://video-uploads-prod.s3-accelerate.amazonaws.com/ABCDEAQGZHEhM55fvvA/ads-aws_userUploadedVideo?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20200106T165718Z&X-Amz-SignedHeaders=content-type%3Bhost%3Bx-amz-server-side-encryption%3Bx-amz-server-side-encryption-aws-kms-key-id&X-Amz-Expires=86400&X-Amz-Credential=ABCDEFHLWTCWZ2MUPPBQ%2F20200106%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=037949abcd1234b063c75d3d505dd9120dd3fa9250c1ababa152e91fee123ca0′ The curl is working properly: * We are completely uploaded and fine < HTTP/1.1 200 OK However, when I try to use RestTemplate (i’m using spring boot 1.5.6) I’m not able…

Details