tianjie491

Results issues of tianjie491

- 版本、环境信息:paddlepaddle1.5.0    1)PaddlePaddle版本:paddlepaddle1.5.0    2)CPU:i5-7500_CPU_@_3.40GHz    3)GPU:v100    4)系统环境:win10,Python版本:3.5 -预测信息 用CPU或GPU进行预测,使用with_inference_optimize时都会报错,去除下面的代码段则正常 prog_file = "{}/__model__".format(args.init_checkpoints_type + "/inference_model") params_file = "{}/__params__".format(args.init_checkpoints_type + "/inference_model") config = fluid.core.AnalysisConfig(prog_file, params_file) type_infer_program = compiler.CompiledProgram(type_infer_program) type_infer_program.with_inference_optimize(config) 报错信息如下: e[1me[35m--- Running analysis...

User

 1)PaddlePaddle版本:paddlepaddle-gpu==1.5.2.post107    2)CPU:gpu预测    3)GPU:RTX2080ti,cuda10.0.130,cudnn7.6    4)系统环境:CentOS Linux release 7.6.1810,Python版本3.6.5 5)tensorrt:TensorRT-6.0.1.5.CentOS-7.6.x86_64-gnu.cuda-10.0.cudnn7.6.tar.gz -预测信息 预测模型:ERNIE1.0 使用python api进行预测,代码如下: type_scope = fluid.core.Scope() with fluid.scope_guard(type_scope): prog_file = "{}/__model__".format(args.init_checkpoints_type + "/inference_model") params_file = "{}/__params__".format(args.init_checkpoints_type + "/inference_model") config = AnalysisConfig(prog_file,...

- 版本、环境信息:    1)PaddlePaddle版本:1.5.2    2)CPU:intel(R) Core(TM) i5-7500    3)系统环境:win10,Python版本 3.7.4 - 问题描述:transformer做seq2seq模型预测时,使用python api,配置AnalysisConfig时添不添加 ``` config.disable_gpu() config.enable_mkldnn() ``` 预测时间相同,预测时间均为1.5秒左右。 我没有手动安装过mkldnn,也没重新编译过源码,请问直接pip install paddlepaddle是否已经集成安装mkldnn了吗?还是需要手动安装mkldnn?或者是哪里没配置好? 下面贴出部分代码: ``` law_scope = fluid.core.Scope() with fluid.scope_guard(law_scope): prog_file = "{}/model.pdmodel".format(args.model_path) params_file...

Intel

模型已经训练完成并保存为inference model,现在需要进行预测。 预测方法为: def prediction(predictor, predict_data_generator): for sample in predict_data_generator(): max_seq_len = sample[0].shape[1] src_word = fake_input(sample[0], PaddleDType.INT64) src_pos = fake_input(sample[1], PaddleDType.INT64) src_slf_attn_bias = fake_input(sample[2], PaddleDType.FLOAT32) trg_word = fake_input(sample[3], PaddleDType.INT64) init_score...

user

在windows上使用VisuslDL查看网络结构时gurphs显示空白,查看metrics时没有问题。模型保存是按visualdl指南上保存的,应该没有问题啊 ![图片](https://user-images.githubusercontent.com/48859246/62599748-a3846b80-b91f-11e9-9b9f-b0069b4aabbd.png) 这是为什么,怎么解决?