cboutens
cboutens

Reputation: 41

TensorFlow Error tensorflow/core/platform/cloud/http_request.cc:334

I'm having an error with TensorFlow that didn't occur before: I'm running TensorFlow locally with data (TFRecords) stored on google cloud storage. I'm using tf.contrib.Estimator and I save checkpoints of my graph's weights to cloud storage.

Everything worked fine. Then I tried to run the code on cloud-ml on GPU's. This worked, however now returning to my local environment, and removing the code for the GPU's, it stopped working. I get the following error :

F tensorflow/core/platform/cloud/http_request.cc:334] Check failed: that->post_body_read_ <= that->post_body_buffer_.size()

And it happens as I'm writing my checkpoint files to cloud storage for the first time. I tried running the same code on two different computers and it works on Windows but it doesn't work on macOS:

setup1: tf version 1.2 macOS Sierra

setup2: tf version 1.2 Windows 10

Upvotes: 3

Views: 321

Answers (1)

Matthew Henderson
Matthew Henderson

Reputation: 11

I had the same issue, and 'fixed' it by using tensorflow rc1.3

Upvotes: 1

Related Questions