nihui
171b9d1bba
use spdx license header, copyright Tencent ( #6152 )
10 months ago
shacon wang
701f53794d
add read npy for ncnn2table ( #5930 )
* add read npy for ncnn2table
* optimize npy to mat to avoid non-contiguous memory data
* add create the calibration table from npy
* add catch exception
1 year ago
nihui
1e4daff075
fix ncnn tools crash with compound layer creation, write gemm weight data ( #5416 )
* fix ncnn tools crash with compound layer creation
* write gemm weight data
2 years ago
nihui
5400028e12
fix ncnn2table crash in lightmode ( #3898 )
* fix crash in ncnn2table for missing weight data in lightmode
* Update modelwriter.h
4 years ago
lsdustc
fd1d5bb2ba
Update ncnn2table.cpp ( #3081 )
修正eq 校准中imagelists错误的索引
4 years ago
Jimmy
8fad97cc68
[ncnn2table]do not always resize image ( #3023 )
* it's possible not to resize image
4 years ago
Jimmy
e47ab30cf5
fix ncnn2table specification ( #3006 )
4 years ago
nihui
71bc617a05
better ncnn2table multithreading, print parsed parameters, print progress
5 years ago
nihuini
312c7372c1
fix norm parsing for long decimal
5 years ago
nihuini
00b0094b2f
copy-pasta makes msvc happy
5 years ago
nihuini
9a12597dff
build ncnn quantization tool even opencv not found
5 years ago
nihuini
34bd5ef161
update eq quant info
5 years ago
nihuini
d021079cd3
implement ncnn2table eq method
5 years ago
nihui
7d10e5593b
fix build
5 years ago
nihuini
45e548e342
rewrite ncnn2table tool, with better multithreading processing
5 years ago
nihui
54c0a13b9f
build shared library ( #2525 )
* build shared lib and enable lto
* reserved for layer and option
* allocator pimpl
* datareader pimpl
* paramdict pimpl, disable copy assign for allocator and datareader
* modelbin pimpl
* net extractor pimpl
* gpu pimple
* disable copy assign vulkandevice, code format
* command pimpl, dummy image readonly
* pipeline pipelinecache pimpl, export platform class
* code format, export simple family
* update ci
* disable lto on android armv7, merge webassembly ci
* link libgcc, fix macos dylib version
* pipeline pimpl, gpu info pimpl
* destroy gpu info after vulkan device
* ignore msvc stl class warning
* fix ncnn_paramdict_get_float return type
* fix vktransfer upload fp16 without flatten, add command test
5 years ago
zchrissirhcz
b80b84fda5
fix #1542 ; fix avx2 uint16_t including ( #1968 )
* fix #1542 ; fix avx2 uint16_t including
for #1542 , it is for compatibility for opencv 2.x, such as on ubuntu 16.04 apt installed opencv
5 years ago
nihui
3ef995ed1e
format code style and setup restyled.io ( #1840 )
6 years ago
nihui
c089ddb3c2
fix build with opencv 2.4
6 years ago
kalcohol
90f8359961
revise more understandable help info ( #1520 )
* revise more understandable help info
* try update ubuntu system before apt-get install
* remove upgrade
6 years ago
nihui
05ab6813f5
c++03 compiler happy
6 years ago
kalcohol
6916f45237
fix quantize tools cross platform issues ( #1505 )
* 1. for cross platform, use cv::CommandLineParser instead of getopt.h
2. use cv::glob to search folder instead of dirent.h
3. fix some other warnings of function from cstdlib
4. add some const and some auto
* 1. fix some other warnings of function from cstdlib
2. add some const and some auto
3. i forgot...
* switch quantize tools default on
* check OpenCV first, if not found, disable quantize tools
* add _CRT_SECURE_NO_DEPRECATE for msvc and remove *_s functions
* add _CRT_SECURE_NO_DEPRECATE for msvc and remove *_s functions
* keep the one line style block
* folding bracket
* dynamic_cast -> static_cast
6 years ago
HuSong
3cec1e6376
Fix ncnn2table coredump ( #1410 )
* fix compile error of yolov3detectionoutput layer
* fix ncnn2table coredump when [Input] layer not found in ncnn.param
6 years ago
chenyang
fda1c8c530
fix return of get_input_names ( #1373 )
6 years ago
Guoxia Wang
4336cc15f7
fix bug that MemoryData as multi operations input ( #1357 )
* fix onnx2ncnn MemoryData dims problem #1330
* fix ncnn2int8 bug (see #1336 )
* fix bug that MemoryData as multi operations input
* fix ncnn2table find_blob_index_by_name data failed bug, see #1338
* fix ncnn2table find_blob_index_by_name data failed bug, see #1338 , fix change requested
6 years ago
ShuangLiu1992
396b057248
fix opencv compatibility issue with major verion > 2 for the quantisation tool ( #1302 )
* Update CMakeLists.txt
enable quant
* fix opencv compatibility issue with major higher than 2
6 years ago
nihuini
56acc25df8
set QuantNet option, fix #1223
6 years ago
MambaWong
997e96a490
add swapRB flag ( #1211 )
6 years ago
BUG1989
f79fa87dca
Add the readme file of quantization tools ( #1198 )
6 years ago
BUG1989
bcfe9f453f
initial the ncnn post training quantization tools ( #1067 )
* initial the ncnn post training quantization tools
* clear some comments of tools
* fix the Travis ci compiler error
7 years ago