bottom = layer.input.name
//first we need to create Input layer
if layer_type=="InputLayer" or not hasattr(caffe_net, "data"):
input_name = "data"
caffe_net[input_name] = L.Layer()
After Change
bottom = layer.input.name
//first we need to create Input layer
if layer_type=="InputLayer" or len(caffe_net.tops)==0:
input_name = "data"
caffe_net[input_name] = L.Layer()
input_shape = config["batch_input_shape"]
input_str = "input: {}\ninput_dim: {}\ninput_dim: {}\ninput_dim: {}\ninput_dim: {}".format(""" + input_name + """,