提交 4a1433cb 编写于 作者: D dangqingqing

uniform code and doc

上级 8ec0e456
......@@ -177,7 +177,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:
......
......@@ -14,15 +14,15 @@
# limitations under the License.
set -e
#config=models/resnet.py
config=models/vgg.py
#cfg=models/resnet.py
cfg=models/vgg.py
output=output
log=train.log
paddle train \
--config=$config \
--config=$cfg \
--use_gpu=true \
--trainer_count=4 \
--trainer_count=1 \
--log_period=100 \
--num_passes=300 \
--save_dir=$output \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册