Ashleychen

Results comments of Ashleychen

![image](https://user-images.githubusercontent.com/4193110/55232810-92d13400-5261-11e9-9562-228de0ce34c2.png) 这是我测一个batch的数据,预测结果有两维,左边的是加载模型之后的预测结果,右边的是保存模型时的预测结果,如图所示前17个分数是一致的,从第18个结果开始就不一致了。 用的是Python预测的,用fluid.io.load_params加载模型,用fluid.io.save_params保存模型。

所以是因为接口用错了吗

> http://paddlepaddle.org/documentation/docs/zh/1.3/api_guides/low_level/inference.html >用预测接口保存吧。 这个借口有参数为parallelExecutor的示例吗。 ``` def save_inference_model(self, model_path): if model_path != '': if not exists(model_path): os.makedirs(model_path) fluid.io.save_inference_model( dirname=model_path, feeded_var_names=self.conf.inference_var_names, target_vars=self.test_outputs, executor=self.test_exe, main_program=self.test_program) logging.info("Saving model: %s succeeds." % model_path) def load_inference_model(self,...

目前这个问题还没有解决,而且我现在test program还需要在线训练,所以我现在用了save_persistables和load_persistables这两个api,我检查了以下几种情况的预测结果,分别是: 1. 训练过程中 2. 保存模型后重新加载参数,然后用单卡预测 3. 保存模型后重新加载参数,然后用多卡预测 4. 保存模型后重新加载参数,然后用单cpu预测 5. 保存模型后重新加载参数,然后用多cpu预测 这几种情况下的结果都不一致。 以下截图分别是我如何调用save_persistables和load_persistables,执行test program。 ![image](https://user-images.githubusercontent.com/4193110/57499923-fbf1a000-7313-11e9-94d1-94cf336c80a8.png) ![image](https://user-images.githubusercontent.com/4193110/57499930-00b65400-7314-11e9-9eed-236b5fad1c10.png)

![image](https://user-images.githubusercontent.com/4193110/57623232-ef926f00-75c1-11e9-99f2-1012e3934335.png) ![image](https://user-images.githubusercontent.com/4193110/57623240-f4efb980-75c1-11e9-9e9c-3a3d0b54dac9.png) 为什么在线训练的时候只能使用单卡呢?

我把代码环境打包发到你的邮箱了,麻烦查看。ps我用的是1.3版本,不是自己编译的。 ![image](https://user-images.githubusercontent.com/4193110/58220278-de273080-7d40-11e9-822d-f6cc2cb0b5bd.png)

请问最新develop的whl包可以在哪里获取,http://ci.paddlepaddle.org/上面只看到mac的whl。

我刚刚试着用这里http://paddlepaddle.org/documentation/docs/zh/1.4/beginners_guide/install/Tables.html/#permalink-7--whl-dev 下载的whl来跑,还是这个报错。