def get_config():
    config = config_st()
    config.tfrecord_addr = './tfrecord/refined.tfrecord'
    config.tfrecord_test_addr = './tfrecord/refined_test.tfrecord'
    config.debug_step_len = 50
    config.batchsize = 32
    config.loss_type = 'entropy_loss'
    config.net_type = 'mobilenet_v2'
    config.class_num = 4
    config.result_addr = './output/chamo.ckpt'
    return config
Example #2
0
def get_config():
    config = config_st()
    config.tfrecord_addr = '/home/leo/Downloads/chamo/tfrecord/'
    config.tfrecord_test_addr = '/home/leo/Downloads/chamo/tfrecord/'
    config.debug_step_len = 100
    config.batchsize = 32
    config.loss_type = 'entropy_loss'
    config.net_type = 'mobilenet_v2'
    config.class_num = 102
    config.result_addr = './output/'
    config.loading_his = False
    return config
Example #3
0
def get_config():
    config = config_st()
    config.tfrecord_addr = 'E:/test_data/73_materials/test_tfrecord/'
    config.tfrecord_test_addr = 'E:/test_data/73_materials/test_tfrecord/'
    config.debug_step_len = 100
    config.batchsize = 1
    config.loss_type = 'entropy_loss'
    config.net_type = 'mobilenet_v2'
    config.class_num = 73
    config.result_addr = './output/chamo_560000.000000_0.014772_0.650000/chamo.ckpt'
    config.ckpt_name = 'chamo_560000.000000_0.014772_0.650000'
    config.loading_his = True
    config.accuracy_type = 'multi'
    return config
Example #4
0
def get_config():
    config = config_st()
    config.tfrecord_addr = '/home/chamo/Documents/data/tfrecord/'
    config.tfrecord_test_addr = '/home/chamo/Documents/data/tfrecord/'
    config.debug_step_len = 100
    config.batchsize = 32
    config.loss_type = 'entropy_loss'
    config.net_type = 'mobilenet_v2'
    config.class_num = 102
    config.result_addr = './output/'
    config.ckpt_name = 'chamo_150000.000000_0.033395_0.550000'
    config.loading_his = True
    config.accuracy_type = 'multi'
    return config
Example #5
0
def get_config():
    config=config_st()
    config.tfrecord_addr='D:/Users/zhengnan.luo/PycharmProjects/food_material_brick/tfrecord/'
    config.tfrecord_test_addr = 'D:/Users/zhengnan.luo/PycharmProjects/food_material_brick/tfrecord/'
    config.debug_step_len = 100
    config.batchsize=32
    config.loss_type='entropy_loss'
    config.net_type = 'mobilenet_v2'
    config.class_num = 102
    config.result_addr = \
        'D:/Users/zhengnan.luo/PycharmProjects/food_material_brick/output/chamo_676000.000000_0.012152_0.650000/chamo.ckpt'
    config.ckpt_name = \
        'D:/Users/zhengnan.luo/PycharmProjects/food_material_brick/output/chamo_676000.000000_0.012152_0.650000/chamo.ckpt'
    config.loading_his = True
    config.accuracy_type = 'multi'
    return config