Commit Graph

13 Commits

Author SHA1 Message Date
nihui 3ef995ed1e format code style and setup restyled.io (#1840) 2020-06-13 22:17:51 +08:00
nihui c089ddb3c2 fix build with opencv 2.4 2020-02-21 21:52:30 +08:00
kalcohol 90f8359961 revise more understandable help info (#1520)
* revise more understandable help info

* try update ubuntu system before apt-get install

* remove upgrade
2020-02-04 14:57:24 +08:00
nihui 05ab6813f5 c++03 compiler happy 2020-01-23 14:36:47 +08:00
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
2020-01-22 16:31:44 +08:00
HuSong 3cec1e6376 Fix ncnn2table coredump (#1410)
* fix compile error of yolov3detectionoutput layer

* fix ncnn2table coredump when [Input] layer not found in ncnn.param
2019-11-29 18:48:17 +08:00
chenyang fda1c8c530 fix return of get_input_names (#1373) 2019-11-13 07:09:40 +08:00
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
2019-11-05 15:53:22 +08:00
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
2019-10-15 06:41:55 +08:00
nihuini 56acc25df8 set QuantNet option, fix #1223 2019-09-06 14:13:30 +08:00
MambaWong 997e96a490 add swapRB flag (#1211) 2019-08-26 17:03:12 +08:00
BUG1989 f79fa87dca Add the readme file of quantization tools (#1198) 2019-08-20 20:46:04 +08:00
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
2019-06-26 21:33:02 +08:00