trainer.yaml 907 字节
Newer Older
X
xiexionghang 已提交
1 2 3
train_thread_num : 10

environment :
X
xiexionghang 已提交
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
    environment_class : LocalRuntimeEnvironment

io :
    file_systems :
        afs :
            class : HadoopFileSystem
            buffer_size : 1024000
            ugis : 
                'default': 'feed_video,D3a0z8'
                'xingtian.afs.baidu.com:9902': 'feed_video,D3a0z8'
        local :
            class : LocalFileSystem
            buffer_size : 1024000
dataset :
    data_list :
        train_sample :
            prefetch_num : 2
            root_path : ./sample
            data_spit_interval : 300
            data_path_formater : '%Y%m%d/%H%M' 
            data_reader : LineDataReader 
            done_file : to.hadoop.done 
            filename_prefix : part
            pipeline_cmd : cat
            parser :
                class : LineDataParser 
    
X
xiexionghang 已提交
31
epoch:
X
xiexionghang 已提交
32 33 34
    epoch_class : HourlyEpochAccessor 
    model_root_path : ./model/