def run_edit_net_params():
    
    path_src = 'lenet_train_test.prototxt'
    path_dst = 'lenet_train_testX.prototxt'
    
    name = 'mnist'
    key = {'data_param' : 'batch_size'}
    new_value = 128
    
    target = pu.Target(name, key, new_value)
    
    count = edit_net_params(path_src, target, path_dst)
    
    print "Target edited %d times" % count
dataset/ETHPy150Open kashefy/nideep/nideep/nets/edit_proto.py/run_edit_net_params/original