Bai Yifan
Bai Yifan
您好,这两个问题与Paddle量化的特点有关,即量化后保存的是一个**以float32格式保存的,但数值范围在int8的模型**,所以会有体积不下降,速度没提高的效果。 实际发挥量化的效果需要用到预测引擎(PaddleLite, Paddle-TensorRT等),可以关注下https://github.com/PaddlePaddle/PaddleSlim/tree/develop/demo/quant/deploy/TensorRT , 和PaddleLite REPO的教程
hi, here is my cpuinfo >processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 23 model name : Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz stepping :...
@chengduoZH 问题暂时解决了,我再check一下,正常的话会关闭这个issue,thx
在使用变长图像数据做训练/预测时,输入数据存在两个shape 1. 是在compile_time指定用来做各个Opeator InferShape的静态的shape,记做`shape_attr` 2. 是run_time根据实际灌进去的数据的动态变化的shape,记做`shape_tensor` 在使用变长图像做输入数据时,这两者会有diff,这个diff主要会影响到reshape op reshape op从`shape_attr`或者`shape_tensor`得到输出尺寸,所以如果只给了reshape静态的`shape_attr`,reshape是无法把各种尺寸的输入data reshape到统一尺寸`shape_attr`的; https://github.com/PaddlePaddle/Paddle/blob/c58af84c66ddd59d1fba72cbe2044e7ba0cd9ace/paddle/fluid/operators/reshape_op.cc#L85-L87 所以需要引入动态的`shape_tensor`,训练/预测时实时根据输入的tensor来决定输出的尺寸;或者使用`[0,-1...]`这样的`shape_attr`自动推算,也可以避免compile_time `shape_attr`和run_time实际feed数据尺寸不兼容的问题 @panyx0718
@kgdev 这个问题我们会尽快在develop分支中修复,感谢反馈
初步判断是因为range()现不支持int64的dytpe引起的core dump,如果需要paddle支持range的int64实现您可以继续在该issue中反馈 @jiangbojian
1.5.1版本上只有deformable_conv GPU的实现,它的CPU实现在[上周](https://github.com/PaddlePaddle/Paddle/pull/18500)刚合入develop分支 建议您更新到最新版[Paddle](https://www.paddlepaddle.org.cn/documentation/docs/zh/beginners_guide/install/Tables.html/#whl-dev) 再试下
您好,Paddle最新版本已经支持了DCNV1,如果有V1的需求建议使用最新版本,可以参照[API文档](https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/api_cn/layers_cn/deformable_conv_cn.html#deformable-conv)使用,与V2用法基本相似,另外设置`mask=None, modulated=False`就可以 [这里](https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/beginners_guide/install/Tables.html/#whl-dev)可以下载到develop分支的最新whl安装包,不久将发布的PaddlePaddle 1.6版本也会包含对DCNV1的支持
```python places = fluid.cuda_places() train_reader.decorate_batch_generator(dev_batch_gen, places=places) ``` 这样写试下呢?
> ValueError: Feed a list of tensor, the list should be the same size as places 这个问题出现的原因是executor运行的place和reader feed的place不符,比如你executor是在多卡上运行的,但是reader只按单卡进行了feed,所以会出错 ```python export CUDA_VISIBLE_DEVICES=4,5 export FLAGS_enable_parallel_graph=1 export FLAGS_sync_nccl_allreduce=1 export FLAGS_fraction_of_gpu_memory_to_use=0.1 export FLAGS_eager_delete_tensor_gb=0.0 export...