shiyazhou121

Results issues of shiyazhou121

问题描述: 按照【AI学习】PaddlePaddle深度学习实战-PaddlePaddle在不同平台的安装 (http://learn.baidu.com/pages/index.html#/courseInfo/13655?courseId=13655&_k=usdv7x)中centos 6.3环境安装gpu版paddle方法。首先安装python27-gcc482,然后按照视频中方法配置gpu。 下面是配置的cudnn和cuda的环境变量 LD_LIBRARY_PATH=/usr/local/cuda/lib64:/home/work/cudnn/cudnn_v5/cuda/lib64:/usr/local/ganglia/lib64:/usr/local/apr/lib:/usr/local/cuda/lib64:/usr/local/cuda/lib:/usr/local/ganglia/lib64:/usr/local/apr/lib:/usr/local/cuda/lib64:/usr/local/cuda/lib::/home/work/cuda-8.0/lib64:/home/work/cuda-8.0/lib:/home/HGCP_Program/software-install/hadoop-v2/hadoop/lib:/home/HGCP_Program/software-install/hadoop-v2/hadoop/libhce:/home/HGCP_Program/software-install/hadoop-v2/hadoop/libhdfs:/home/HGCP_Program/software-install/openmpi-1.8.5/lib:/home/work/cuda-8.0/lib64:/home/work/cuda-8.0/lib:/home/HGCP_Program/software-install/hadoop-v2/hadoop/lib:/home/HGCP_Program/software-install/hadoop-v2/hadoop/libhce:/home/HGCP_Program/software-install/hadoop-v2/hadoop/libhdfs:/home/HGCP_Program/software-install/openmpi-1.8.5/lib 配置完成后,尝试运行book中的02.recognize_digits时报错,下面是全部日志 I1114 14:56:59.516850 4275 Util.cpp:166] commandline: --use_gpu=1 --trainer_count=1 W1114 14:57:08.683694 4275 CpuId.h:112] PaddlePaddle wasn't compiled to use avx instructions, but these are available on...

User

背景: 使用paddle v2训练多分类模型,现有的Evaluators只给出平均错误率,marco或者mirco 准召率。然而我更关心每个label的情况以便模型调优。 问题: 我在paddle V2的api中的Evaluators 没有找到满足我需要的。请问我如何可以实现上述的需求?

User

![image](https://user-images.githubusercontent.com/15082798/40403883-5642c4e6-5e87-11e8-9032-fa8f61b8fe5b.png) 图中的simple usage,估计是写错了。 另外对于positive_label,感觉不像是一个layer,而是一个int型的label。

User

背景: 数据量:384维dense特征,3600w条。 网络:3层fcn。 服务器:8GPU (Tesla P40) 问题: 发现训练一个pass需要3个小时,而GPU占用率基本为0,最高为2%,CPU单进程100%。用profile分析下程序,以下是结果。 ![image](https://user-images.githubusercontent.com/15082798/40758925-385e16e2-64c2-11e8-98bf-5075f38996ed.png) 发现reader占用时间太多,以下是我写的reader ![image](https://user-images.githubusercontent.com/15082798/40758936-4bc2aef0-64c2-11e8-8a23-11805426d5d0.png) 请问有优化的方法嘛?如果用多进程该怎么写?

问题:使用infer接口输出的softmax层结果和不等于1. 以下是我的网络配置等: ![image](https://user-images.githubusercontent.com/15082798/40772934-f65ab912-64f3-11e8-91c1-2633f8ae55c1.png) 我的infer代码: ![image](https://user-images.githubusercontent.com/15082798/40772958-0666a7ee-64f4-11e8-962e-031a7a99f7e8.png) infer的输出结果: ![image](https://user-images.githubusercontent.com/15082798/40773061-5ad58070-64f4-11e8-9e81-8f28c889cb62.png) 结果分析: infer中使用的param.tar文件是使用图1的网络配置训练出来的。 从结果中可以很明显看出,softmax层输出和不等于1,请问我的哪个地方出错了??求助...

User

程序中paddle.init(use_gpu=False),则会报以下错误,但改成use_gpu=True就可以正常infer。难道是因为使用了GPU训练出得param.tar ? ![image](https://user-images.githubusercontent.com/15082798/40773434-6e912f0a-64f5-11e8-8d63-ae8cb1307c9f.png)

User

paddle版本:v2 0.11 问题:我在训练过程中使用测试集评估,准召率都是99%,但我使用训练好的模型来预测这份测试集,准召率很低,我不知道哪部分出现问题。以下是我的代码以及部分结果。 evaluator配置 ![image](https://user-images.githubusercontent.com/15082798/40903138-fa5f3296-6808-11e8-90dd-8f058c26ceb5.png) 训练中的event配置 ![image](https://user-images.githubusercontent.com/15082798/40903162-10cd89ba-6809-11e8-8b28-39fed1cfde53.png) 训练日志中test的打印 ![image](https://user-images.githubusercontent.com/15082798/40903229-4e6d63c6-6809-11e8-83e9-11ad050209f0.png) infer代码 ![image](https://user-images.githubusercontent.com/15082798/40903263-68154c6c-6809-11e8-8af8-f04d8df25808.png) network代码 ![image](https://user-images.githubusercontent.com/15082798/40903276-7254c5cc-6809-11e8-969d-c500cb950482.png)

User

问题:在train中,需要在event函数里写test,目前使用的是trainer.test(reader=reader,feeding=feeding),但是我看到的例子里的reader都是paddle.batch()。请问如果不想用batch,想测试全部的数据,应该怎么做?

User

本地报错 ![image](https://user-images.githubusercontent.com/15082798/43239926-b7e85f00-90c6-11e8-8444-f922e172ef27.png) 集群报错 ![image](https://user-images.githubusercontent.com/15082798/43239945-d24e5bba-90c6-11e8-855e-d890b1474e78.png) 网络配置 ![image](https://user-images.githubusercontent.com/15082798/43239952-def3465a-90c6-11e8-9f76-eeacadd23f28.png)

User
预测

我有两个输入分别是dense和sparse类型的,模型训练好了,不知道怎么infer。求问python版的infer和capi版的infer 应该怎么构造。以下是我的网络结构。 ![image](https://user-images.githubusercontent.com/15082798/43619695-b6f6ddba-9701-11e8-9dfd-1a44f761c713.png) python版的infer ![image](https://user-images.githubusercontent.com/15082798/43619708-c639f168-9701-11e8-9d0f-9b49eb0f936e.png) 报错 ![image](https://user-images.githubusercontent.com/15082798/43619723-d742d7f4-9701-11e8-81c1-18582b36714b.png)

预测