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

Viewed 297

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

Cheers, Charles

1 Answers
Related