Facing a error while calling Vgg module


I am getting an error while calling Vgg module from vgg program, the code is here and error and please let me know.

Import our class, and instantiate

import vgg16; reload(vgg16)
from vgg16 import Vgg16

/Users/trinakarmakar/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/ops.pyc in set_shapes_for_outputs(op)
1781 raise RuntimeError("No shape function registered for standard op: %s"
1782 % op.type)
-> 1783 shapes = shape_func(op)
1784 if shapes is None:
1785 raise RuntimeError(

/Users/trinakarmakar/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/common_shapes.pyc in call_cpp_shape_fn(op, input_tensors_needed, debug_python_shape_fn)
594 status)
595 except errors.InvalidArgumentError as err:
–> 596 raise ValueError(err.message)
598 # Convert TensorShapeProto values in output_shapes.

ValueError: Negative dimension size caused by subtracting 2 from 1

You need to switch from tensorflow to theano - search the forum for info.