Commit Graph
55 Commits
Author SHA1 Message Date
nihui 171b9d1bba use spdx license header, copyright Tencent (#6152) 2025-07-08 11:01:29 +08:00
nihui 24a3b99f1f drop layer support_image_storage and option use_image_storage (#6126)
* fix pyncnn build
2025-06-16 11:23:41 +08:00
nihui b9f98f0d3a always allocate aligned size for 1d/2d mat and vkmat (#6104)
* fix sub mat cstep
* fix embed
* rnn/lstm/gru int8 test without rounding diversity
2025-06-10 15:43:03 +08:00
nihui 5a1544c27b ci release python add armv7l wheel, use native linux-aarch64 host, fix sdist build, build parallel by default, drop s390x and ppcle64 wheel (#6020) 2025-04-25 11:59:02 +08:00
nihui 109e473007 let cmake know the project is aware of new version and stop throwing warnings (#5848) 2025-04-02 14:58:10 +08:00
nihui bf13c30210 define device feature macros for glslang, discover VK_EXT_shader_atomic_float and VK_EXT_shader_atomic_float2 (#5949) 2025-03-28 10:50:11 +08:00
nihui 8211930a6f discover VK_KHR_shader_subgroup_rotate (#5948) 2025-03-26 15:50:11 +08:00
nihui 40f7b4e527 discover all subgroup features and VK_KHR_shader_subgroup_extended_types (#5946) 2025-03-26 14:08:58 +08:00
Shironana 3d224f2790 remove support for windows arm32 (#5811) 2024-12-03 11:05:30 +08:00
Joey Ballentine a0c9e7783d Add python binding for loading bin from memory (#5164) 2024-08-17 13:36:17 +08:00
nihui f2a34ee7ae update pybind11 to 2.12, support numpy 2 (#5525) 2024-06-21 08:41:40 +08:00
dsplvd 3d8b7f8177 Update yolov8.py (#5345)
results is empty when no objects are detected in frame so non iterable error fires. added itrable check on results
2024-02-24 11:53:06 +08:00
Joey Ballentine a7506008c8 Add more gpu-related python bindings (#5165) 2023-12-21 14:50:08 +08:00
JeremyRandandJeremy Rand 575098640c python: document CMAKE_TOOLCHAIN_FILE env var (#5229)
Co-authored-by: Jeremy Rand <jeremyrand@danwin1210.de>
2023-12-18 11:25:00 +08:00
nihui b4f26237cb in-house vulkan loader (#5130)
* vulkan-driver-loader.md
* static vulkan on apple
2023-11-09 16:58:23 +08:00
Zhenyu ZHAO a6decad15d Python ncnn with vulkan (#5020)
* add option for enabling vulkan in setup.py
* load winograd type options for pybind.
* enable the usage of humbletim/install-vulkan-sdk in ci
* vulkan-loader with release build
* python setup.py install --vulkan=on
* moltenVK for x86_64 macos
* remove universal2  temporarily
2023-10-23 10:50:15 +08:00
JeremyRandandtheflyingzamboni 77c4421fc2 load_param_mem pybind (#4924)
Co-authored-by: theflyingzamboni <theaerialzamboni@gmail.com>
2023-08-22 14:10:11 +08:00
nihui 0dbe5a7180 possible fix for issue 4735 (#4737) 2023-05-22 10:41:35 +08:00
triple Mu 18a37a270b Update model_zoo.py (#4495)
support yolov8s ncnn
2023-05-08 14:08:19 +08:00
kennybradley f79daf4071 I added yolov7 tiny to the model zoo since it already exists in the ncnn-assets (#4693) 2023-05-08 10:55:23 +08:00
wyushun 68de8a2128 fix output_indexes name (#4453) 2023-01-08 13:07:41 +08:00
Jiao Dian's Power Plant b07c5fc811 Remove unused imports in python (#4378) 2023-01-04 18:47:16 +08:00
nihui 6647396667 update release ci (#4359)
* update release ci

* find modern glslang

* parallel jobs on windows
2022-11-20 19:38:29 +08:00
Fangjun Kuang 1b83fe4f16 Support mat.numpy() in Python (#4356) 2022-11-18 15:47:02 +08:00
Guo Haria 67f52ba73c Update yolov5.py (#3656)
fix rect position bug.
2022-03-27 15:19:38 +08:00
nihui 920aa79f04 drop x86 avx2 fp16 (#3568) 2022-02-16 22:45:57 +08:00
f10cc6dd93 initial data structure changes for 3dcnn, conv3d, pooling3d (#3378)
Co-authored-by: ElvisYu <elvisyuovo@gmail.com>
Co-authored-by: 余浩文 <m18107220188@163.com>
Co-authored-by: Zr2223 <67497651+Zr2223@users.noreply.github.com>
2021-12-02 16:50:55 +08:00
nihui f4f7fabe27 fix python wheel, parallel 3 for macos tasks (#3396) 2021-12-02 16:45:39 +08:00
Nixon Dutta e8a8e0a874 Corrected the path for python version installation (#3293) 2021-10-20 16:53:55 +08:00
Tijmen Verhulsdonck eaa7e24db6 Added ability to switch AVX/AVX2 during runtime (#3076) 2021-07-14 20:28:15 +08:00
li mengyang be054aacb0 some misspell (#3046)
* just a spell check

* some misspell
2021-07-03 14:47:35 +08:00
uniartisan a9ff73041b fix video load error in python examples[yolov4] (#3005) 2021-06-15 23:04:05 +08:00
Zhiqiang Wang ccc597740f Fixing TypeError assertions in test_extractor.py (#2968)
* Fixing TypeError assertions in pytest

* Add Compiled Python files to gitignore
2021-06-03 14:28:18 +08:00
Zhiqiang Wang be5a912052 Fixing Python classifiers and disable aarch64 (#2949)
* Fixing classifiers of Pypi for local compliler

* Disable aarch64 in building Python
2021-05-25 15:47:11 +08:00
Cai Shanli 8cc8cd716a Add get input and output names (#2890) 2021-05-17 19:11:37 +08:00
nihui 5fe75f19ef architecture changes for int8 packing (#2771)
* quantize and dequantize tests

* unify activation and usability function

* drop NCNN_REQUANT cmake option, test dequantize requantize pack8, fix webassembly build

* benchmark use requantize int8 model
2021-03-27 18:49:13 +08:00
Cai Shanli e9a61b3e64 fix python return value policy (#2756) 2021-03-16 21:46:53 +08:00
nihui 67e24e0703 use local pool allocator (#2736)
* use local pool allocator

* detach extract feat from local allocator

* fix test
2021-03-16 16:23:28 +08:00
Cai Shanli 64ef781a9c add test python vulkan (#2754)
* add test python vulkan

* add python vulkan ci on linux with 3.6 and 3.8

* fix ci vulkan icd
2021-03-15 23:00:33 +08:00
Cai Shanli f5b307689b fix net and extractor destroy order when use vulkan (#2732) 2021-03-13 20:54:06 +08:00
Cai Shanli 2edb3ed7a4 nanodet python demo (#2723)
* nanodet python demo

* add clip

* fix clip wh

* remove nms package requirement
2021-03-03 22:17:17 +08:00
zylo117 31bc57b1e2 fix a missing import in python setup.py (#2691) 2021-02-20 10:51:09 +08:00
Cai Shanli 90a1fa158d Fix model zoo download (#2660)
* fix model zoo download files

* fix yolov4.bin download split

* fix python/examples/shufflenetv2
2021-02-06 21:48:40 +08:00
Cai Shanli eb6797ac7d fix model zoo download files (#2659) 2021-02-04 15:28:11 +08:00
Cai Shanli 18980d717e release to pypi on windows, linux and macos (#2644)
* release python

* fix twine upload only push tags, fix linux bdist_wheel so path error

* fix long_description_content_type

* remove log print

* set cibuildwheel version 1.6.3

* add pyproject.toml

* set release python only on push tag

* add ci build python 2.7

* remove python2.7; update readme.md
2021-01-31 23:46:41 +08:00
nihuiandCai Shanli 329e2eeae8 upload wheel to pypi (#2633) (#2638)
Co-authored-by: Cai Shanli <caishanli25@gmail.com>
2021-01-28 12:51:24 +08:00
Cai Shanli 69eee9228a add pytest extractor (#2598) 2021-01-19 17:39:13 +08:00
Cai Shanli 2785398eca add pytest net (#2593)
* add pytest net

* fix typo error

* fix header year
2021-01-15 15:41:17 +08:00
Cai Shanli 30e949bd8b add pytest allocator (#2584) 2021-01-11 23:27:13 +08:00
Cai Shanli e246dba39b add pytest option (#2587) 2021-01-11 23:26:44 +08:00