Bai Yifan

Results issues of Bai Yifan

Hello: when i try to run the xnor-net,i get the following error >$ ./bin/FNC_XNORNET 2 starting program 2 ============================================================== = IntelPCM is about to be initialized ============================================================== Error: unsupported processor....

The bilinear op can be used to do up-sampling instead of de-conv.

Name bilinear_interp op as UpsamplingBilinear2d layer in Python API And unified the interface style with ONNX

在4卡,batch_size=16使用parallel executor跑程序时碰到了这个错误,报错信息如下: ``` terminate called after throwing an instance of 'paddle::platform::EnforceNotMet' what(): an illegal memory access was encountered at [/home/users/baiyifan02/work/Paddle/paddle/fluid/framework/details/op_handle_base.cc:37] PaddlePaddle Call Stacks: 0 0x7f9ba60c9e9ep paddle::platform::EnforceNotMet::EnforceNotMet(std::__exception_ptr::exception_ptr, char const*, int) +...

Now bipartite_match_op can well handle small size input. But when input size is large, this op become extremely slow

Fluid构建一个网络分为两个过程:`compile time`和`run time` 1. 对于变长数据的预测过程可以分为以下两步: `Compile time`过程Fluid根据Python输入data_const的shape计算得到`ProgramDesc`,根据输入data的shape计算得到各个Var的shape `Run time`根据实际feed的data_real进行计算,如果输入是变长数据,data_real与data_const的shape不同,可能会引起一些op的错误 2. 已经发现的问题 目标检测相关的一些Reshape API使用的是输入`Compile time`的shape,所以在输入变长数据时会出错 ReshapeOp相关的一些: https://github.com/PaddlePaddle/Paddle/blob/9e0a94f069329b430d0843327e474712e079a660/python/paddle/fluid/layers/detection.py#L266-L268 https://github.com/PaddlePaddle/Paddle/blob/9e0a94f069329b430d0843327e474712e079a660/python/paddle/fluid/layers/detection.py#L679-L680 https://github.com/PaddlePaddle/Paddle/blob/edc32c089605944eda860e3404f8aff152a4ff38/python/paddle/fluid/layers/detection.py#L691 https://github.com/PaddlePaddle/Paddle/blob/9e0a94f069329b430d0843327e474712e079a660/python/paddle/fluid/layers/detection.py#L1009-L1012 https://github.com/PaddlePaddle/Paddle/blob/edc32c089605944eda860e3404f8aff152a4ff38/python/paddle/fluid/layers/detection.py#L1102-L1106 https://github.com/PaddlePaddle/Paddle/blob/9e0a94f069329b430d0843327e474712e079a660/python/paddle/fluid/layers/detection.py#L1118-L1122

Need add flatten op, to do reshape in detection api

![image](https://user-images.githubusercontent.com/28884066/62751144-427ea400-ba95-11e9-8b0d-6535a2472dc9.png) 在用apply_gradient对模型中的一部分参数`model_var`做更新之后,再求该模型loss对另一部分参数`arch_var`的导数会报错 ![image](https://user-images.githubusercontent.com/28884066/62751260-9ee1c380-ba95-11e9-9f6e-3b4f9df3017a.png) 查了一下,是因为求导时,前面**apply_gradient append进来的某个xx_grad_op也被backward.py用来求导**引起的错误,但期望实现的是只对前向op求导 https://github.com/PaddlePaddle/Paddle/blob/21440b4d69d1a8b390ae62611b2ea0e90261e14c/python/paddle/fluid/backward.py#L431-L432 这一模型在tf用了同样的实现逻辑没有报错,请教下是因为paddle暂不支持这样的功能还是需要其他的操作?

Currently, our [Block.create_paramter. _is_inited_by](https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/fluid/framework.py#L2354]) uses a for loop to find how many ops have initialized a var. However, when the magnitude of block.ops is large, this implementation can be very...

status/close

预测引擎的配置选项`config.enable_use_gpu(100, 0)`一次只能选择一张GPU卡进行预测,有其他方法配置进行多卡预测吗? https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/advanced_usage/deploy/inference/python_infer_cn.html#paddlepredictor