Paddle
Paddle copied to clipboard
PArallel Distributed Deep LEarning: Machine Learning Framework from Industrial Practice (『飞桨』核心框架,深度学习&机器学习高性能单机、分布式训练和跨平台部署)
### 问题描述 Issue Description 参考文档/This doc was referred:https://paddle-inference.readthedocs.io/en/latest/guides/install/compile/source_compile_under_MacOS.html 制作Makefile命令/Command to make Makefile:cmake .. -DPY_VERSION=3.9 -DPYTHON_INCLUDE_DIR=${PYTHON_INCLUDE_DIRS} \ -DPYTHON_LIBRARY=${PYTHON_LIBRARY} -DWITH_GPU=OFF -DWITH_TESTING=OFF \ -DWITH_AVX=OFF -DWITH_ARM=ON -DCMAKE_BUILD_TYPE=Release **-DON_INFER=ON** 编译命令/Command to compile:make **inference_lib_dist** TARGET=ARMV8 -j8...
### bug描述 Describe the Bug ```python import paddle label = paddle.to_tensor([0, 8, 9]) mask = paddle.to_tensor([False, True, True], dtype='bool') print(label[mask]) # Paddle2.3.1运行后输出[0, 0],在Paddle2.2下运行是[8, 9]正常的 ```  ### 其他补充信息 Additional Supplementary...
### 请提出你的问题 Please ask your question PS D:\code\Deep_Learning\PaddlePaddle\RET_OCR> & E:/Apps/development_tool/python3.8/python.exe d:/code/Deep_Learning/PaddlePaddle/RET_OCR/tools/rec_train.py ./configs/ch_PP-OCRv3_rec_distillation.yml [2022/07/29 17:29:30] ppocr INFO: Initialize indexs of datasets:['F:\\AI_Dataset\\OCR\\HW_Chinese\\HW_Chinese\\rec_train_label.txt'] [2022/07/29 17:29:30] ppocr INFO: Initialize indexs of datasets:['F:\\AI_Dataset\\OCR\\HW_Chinese\\HW_Chinese\\rec_test_label.txt'] [2022/07/29 17:29:33]...
### 请提出你的问题 Please ask your question 请问,paddleslim下的recover_inference_program貌似提供了将推理模型转为训练模型的途径,请问能否给出一个demo来演示一下使用方法?
### bug描述 Describe the Bug 平台:本地运行i7-7700+3090,paddlepaddle-2.31,ubuntu-16.04,cuda11.2,python3.6,g++5.5 bug描述: 测试了2个模型,ppyolo_mbv3_large_coco模型和picodet_l_320_coco_lcnet模型。 1、https://github.com/PaddlePaddle/PaddleDetection/tree/release/2.4/configs/picodet 上方链接的picodet中的[w/ 后处理]的所有模型,在使用paddle-infer的c++预测过程中出错;所使用例程为官方https://github.com/PaddlePaddle/Paddle-Inference-Demo/c++/cpu/resnet50/resnet50_test.cc。 std::vector input_shape = {FLAGS_batch_size, 3, 224, 224}; std::vector input_data(FLAGS_batch_size * 3 * 224 * 224); 其中输入数据改为3,320,320。其它不变,编译后运行 ./resnet50_320 --use_ort true...
### 请提出你的问题 Please ask your question  但是打印了src_ids, 没有超过12800的数: 
### 请提出你的问题 Please ask your question I have put my input on GPU and wanna do inference, but only found `input_tensor.copy_from_cpu()`, is there any interface to read input data on...
### 需求描述 Feature Description 任务目标(请描述你正在做的项目是什么,如模型、论文、项目是什么?)正在使用Mac M1 Pro作为生产机型,具体使用了PaddleOCR与PaddleNLP,目前Paddle在Mac下仅支持CPU模式,PaddleOCR与PaddleNLP运行效率并不出色; 需求场景(请描述你的项目中为什么需要用此功能)加快解决问题,提高生产效率; ; 功能描述(请简单描述或设计这个功能) ### 替代实现 Alternatives _No response_
### bug描述 Describe the Bug 环境:版本 python3.8.0 cuda10.1.105; cudnn 7.6.5 ; paddlepaddle 2.3.1 用了gpu和cpu版本; 跑的是https://github.com/PaddlePaddle/ERNIE 项目中的task有 text_generation 和text_matching, 这两个task 训练的时候都是可以正常运行的,但是infer的时候就出错了,代码段是在erniekit/controller/inference.py 中的predictor = paddle_infer.create_predictor(config) 这段代码就会出现错:不管用cpu还是gpu都会报同样的问题 ![Uploading image.png…]() ### 其他补充信息 Additional Supplementary...
### bug描述 Describe the Bug 在cpu上模型可以正常训练,但在gpu上训练时,中间产生nan报错: ``` [2022-08-04 08:38:08,797] [paddlets.models.dl.paddlepaddle.callbacks.callbacks] [INFO] epoch 000| loss: 7.798771| val_0_mse: 5.539458| val_0_mae: 1.806103| 0:00:02s [2022-08-04 08:38:09,079] [paddlets.models.dl.paddlepaddle.callbacks.callbacks] [INFO] epoch 001| loss: 4.379002| val_0_mse: 1.134817|...