Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 987
cboutens Avatar asked Sep 27 '26 05:09

cboutens


1 Answers

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

like image 85
Matthew Henderson Avatar answered Sep 28 '26 21:09

Matthew Henderson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!