提交 8ec0e456 编写于 作者: D dangqingqing

remove cache=CacheType.CACHE_PASS_IN_MEM in dataprovider

上级 9a933114
......@@ -27,7 +27,7 @@ def initializer(settings, mean_path, is_train, **kwargs):
}
@provider(init_hook=initializer, cache=CacheType.CACHE_PASS_IN_MEM)
@provider(init_hook=initializer, pool_size=50000)
def process(settings, file_list):
with open(file_list, 'r') as fdata:
for fname in fdata:
......
......@@ -21,7 +21,7 @@ log=train.log
paddle train \
--config=$config \
--use_gpu=1 \
--use_gpu=true \
--trainer_count=4 \
--log_period=100 \
--num_passes=300 \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册