machrisaa / tensorflow-vgg

VGG19 and VGG16 on Tensorflow
2.21k stars 1.08k forks source link

Error when running test_vgg19.py #2

Closed aecker closed 8 years ago

aecker commented 8 years ago

I've been trying to run your test_vgg19.py, but get the following error:

ValueError: GraphDef cannot be larger than 2GB.

It seems like the graph is getting too big. So I'm wondering whether I'm doing something really stupid or whether you have the same problem?

aecker commented 8 years ago

Ok, not a problem with your code, but with Tensorflow 0.8. Seems to be a problem with the order of imports. Specifically, with Tensorflow 0.8 there are issues when it's imported before any libraries that use e.g. libjpeg. See also here: https://github.com/tensorflow/tensorflow/issues/1924