Commit Graph

41 Commits

Author SHA1 Message Date
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
JeremyRand 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
nihui 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
nihui 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
mosheliv ba70b2f780 Update README.md (#2581)
* Update README.md

type in pip command to install requirements

* Update model_store.py

fix not working url. the models in the previous url were just stub.
2021-01-11 11:48:43 +08:00
Cai Shanli 6dc21825eb add python build ci on mac and windows (#2566)
add test mat, blob and paramdict
fix README.md build
print mat'data in python
2021-01-07 19:28:25 +08:00
Cai Shanli a5560340e0 add python build ci (#2550)
fix build python with lastest ncnn
2021-01-05 23:30:50 +08:00
Cai Shanli bf845a6fe3 add python (#2514)
* add python
* check elempack when convert ncnn.Mat to numpy.ndarray
fix build with NCNN_STRING=OFF
2020-12-30 10:40:27 +08:00
nihui 242e556b7e mention python binding 2020-06-04 11:38:35 +08:00