Ryan
Ryan
### bug描述 Describe the Bug `paddle.masked_select` 返回错误的值 我本要实现一个这样的需求: ```python >>> import numpy as np >>> A = np.arange(6).reshape(3, 2) >>> A [[0 1] [2 3] [4 5]] >>> mask =...
Hi, 非常感谢MNN的工作,很cool!!!!!!!!!! 我在windows平台编译了推理引擎,mnn版本是当前最新版,按照文档 https://www.yuque.com/mnn/cn/build_windows ``` cd /path/to/MNN powershell # 运行该命令从cmd环境进入powershell环境,后者功能更强大 ./schema/generate.ps1 # CPU+OpenCL+Vulkan, 64位编译 .\package_scripts\win\build_lib.ps1 -path MNN-CPU-OPENCL/lib/x64 -backends "opencl,vulkan" ``` 编译结果很流畅,只有几个warning: ```shell [65/316] Building CXX object CMakeFiles\MNNTransform.dir\source\geometry\GeometryTopK.cpp.obj xxx\MNN\source\geometry\GeometryTopK.cpp(19): warning C4477:...
您好,我的环境是 window10 , Python3.8 我按照文档,用 VS2015 编译了 PaddleLite,编译指令是: ```shell lite\tools\build_windows.bat with_extra with_profile with_precision_profile ``` 然后在 dist 目录下,安装了 `paddlelite-83000d84b-cp38-cp38-win_amd64.whl` 执行 `import paddlelite` 没有问题 但是执行 ```python from paddlelite.lite import * ``` 报错:...
我在windows10上编译: ```shell lite\tools\build_windows.bat with_extra with_profile with_precision_profile ``` 中途遇到一些这个问题,我都添加了 `encoding='utf-8'`,最后编译完毕 ```shell CMake Error at lite/kernels/CMakeLists.txt:118 (message): Traceback (most recent call last): File "xxxxx/Paddle-Lite/lite/tools/cmake_tools/create_fake_kernel_registry.py", line 243, in parse_fake_kernels_from_path(faked_kernels_list_path) File "xxxxx/Paddle-Lite/lite/tools/cmake_tools/create_fake_kernel_registry.py", line 101,...
Hi, I run [`run.py`](https://github.com/PaddlePaddle/PaddleSlim/blob/develop/example/auto_compression/semantic_segmentation/run.py) as follow in `PaddleSlim/example/auto_compression/semantic_segmentation`: ```python args.config_path = "configs/pp_liteseg/pp_liteseg_mine.yaml" args.save_dir = './save_sparse_model' ``` but I got: ```python 2022-07-22 12:59:49,955-INFO: quant_aware config {'weight_quantize_type': 'channel_wise_abs_max', 'activation_quantize_type': 'moving_average_abs_max', 'weight_bits': 8,...
I found `requirements.txt` and `requirements-gpu.txt` out of date, which some packages cant download, and not support Python 3.8. I change some lines, do like this: ``` conda create -n advbox...
Add `test_cfg` and `train_cfg` to `model`.
https://github.com/bguisard/SuperResolution/blob/7c88843170e015d954b0891d9d2854372753a70b/model.py#L118 https://github.com/bguisard/SuperResolution/blob/7c88843170e015d954b0891d9d2854372753a70b/model.py#L120 https://github.com/bguisard/SuperResolution/blob/7c88843170e015d954b0891d9d2854372753a70b/model.py#L123 I dont know PyTorch of old version. However, code above may be wrong with PyTorch 1.6+, because the parameters could not be registered. The forward propagation can...
Hi, thx for your very helpful code. Could you please give a demo of `poly_nms_gpu`?