Commit Graph

758 Commits

Author SHA1 Message Date
AlexeyAB 985ba2720f yolov3-tiny_obj.cfg - is example for training custom objects 2018-05-18 23:27:27 +03:00
AlexeyAB 24f563ce71 Example of usage cv2.imread() in the darknet.py 2018-05-17 23:26:55 +03:00
Alexey 71437a936d
Update Readme.md 2018-05-17 22:50:27 +03:00
AlexeyAB 9ba0beb413 Fixed resize of network for low resolution network like 128x128 2018-05-17 17:02:42 +03:00
Alexey e39d101109
Merge pull request #844 from salbatron/patch-1
Create get_openimages_dataset.py
2018-05-17 16:36:50 +03:00
salbatron 0ecbeeff42
Create get_openimages_dataset.py
Script that downloads images with selected classes from OpenImages dataset and create labels in "yolo format"
2018-05-17 15:22:49 +02:00
AlexeyAB fb9fcfb3ba Support of .ppm files is realised 2018-05-17 03:04:42 +03:00
AlexeyAB e29fcb703f Fixed time for ./darknet detector valid 2018-05-16 15:23:34 +03:00
AlexeyAB 8587c0a161 Fixed OPENCV_VERSION 2018-05-16 15:19:01 +03:00
AlexeyAB b34c913d2e darknet.py change libdarknet.so to darknet.so 2018-05-16 15:16:41 +03:00
AlexeyAB 89c11f83ed Fixed darknet.py - uses batch=1 by default 2018-05-16 15:05:46 +03:00
AlexeyAB 573d7e8081 Added def array_to_image(arr): to the darknet.py
Usage:
    import scipy.misc
    sci_image = scipy.misc.imread(image)
    im, arr = array_to_image(sci_image)
2018-05-16 03:03:23 +03:00
AlexeyAB 8b5344ee2d Added BFLOPs output for network configurations 2018-05-14 13:34:40 +03:00
AlexeyAB 3ebcc647b6 Fixed network resizing (random=1) for non-square networks 2018-05-14 12:20:38 +03:00
Alexey cda8171feb
Merge pull request #765 from HotChick91/AlexeyAB-code
Exit with nonzero status on error
2018-05-10 01:38:02 +03:00
AlexeyAB 812d143ebd Merge branch 'master' of github.com:AlexeyAB/darknet 2018-05-08 19:09:58 +03:00
AlexeyAB e96401774b Fixed compile error 2018-05-08 19:09:43 +03:00
Alexey 2c2ba0f8fa
Update Readme.md 2018-05-08 18:08:21 +03:00
AlexeyAB fb56f6d569 Fixed README.md 2018-05-08 18:02:23 +03:00
Alexey 0948df52b8
Merge pull request #741 from IlyaOvodov/Fix_detector_output
Output improvements for detector results:
2018-05-08 17:27:45 +03:00
IlyaOvodov 1b5afb4583 Output improvements for detector results:
When printing detector results, output was done in random order, obfuscating results for interpreting. Now:
1. Text output includes coordinates of rects in (left,right,top,bottom in pixels) along with label and score
2. Text output is sorted by rect lefts to simplify finding appropriate rects on image
3. If several class probs are > thresh for some detection, the most probable is written first and coordinates for others are not repeated
4. Rects are imprinted in image in order by their best class prob, so most probable rects are always on top and not overlayed by less probable ones
5. Most probable label for rect is always written first
Also:
6. Message about low GPU memory include required amount

Upd:
* struct detection changes reverted to keep it unchanged
* cmd line key "-ext_output" is added to manage extended output (rect coords in detector test mode)

# Conflicts:
#	src/detector.c
2018-05-08 14:09:35 +03:00
AlexeyAB 0045074f56 Get pre-trained weights for Yolo v3 tiny 2018-05-07 23:33:10 +03:00
Bartek Gąsiorzewski ae4ec1a06d Exit with nonzero status on error 2018-05-07 22:11:57 +02:00
Alexey 6b8fd6f33f
Update Readme.md 2018-05-07 02:18:06 +03:00
Alexey bde2a30603
Merge pull request #760 from PuneetKohli/fix-log-parser-no-display
Change matplotlib backend to 'agg' when 'show_plot' is false.
2018-05-07 01:36:45 +03:00
Puneet Kohli cdd1cb0e8c Change matplotlib backend to 'agg' when 'show_plot' is false. This allows the script to be run from command line without any errors (for ex, on a remote machine) 2018-05-06 16:45:26 -05:00
AlexeyAB c9b8bdee18 Minor fix - what pip-packages are required for Python scripts 2018-05-06 21:51:31 +03:00
Alexey 30e08573d1
Merge pull request #759 from Adesun/log_parser
darknet training log parser
2018-05-06 21:31:49 +03:00
AlexeyAB efcbdb5425 Added yolov3-tiny.cfg 2018-05-06 21:20:01 +03:00
Ade a1c5bae6fb
Update readme.md 2018-05-06 22:16:31 +08:00
Adesun d3d4c0e699 parsing training log and plot
save loss data to csv
2018-05-06 22:11:49 +08:00
Alexey 85388d6708
Merge pull request #754 from tigerhawkvok/python3-detection-runner
Python3 detection runner
2018-05-05 15:46:49 +03:00
Philip Kahn 51fbf01277
Address GPU message in root dir 2018-05-04 15:07:45 -07:00
Philip Kahn 75295718e1
Address GPU message in build dir 2018-05-04 15:07:28 -07:00
Philip Kahn 1aadf29a51
fix detection paths 2018-05-04 15:00:25 -07:00
Philip Kahn 3a2a8653a6
Fix detection paths 2018-05-04 14:59:29 -07:00
Philip Kahn 29f3c37314
Remove debugging line 2018-05-04 14:47:04 -07:00
Philip Kahn 9c400dc5b8
Remove debugging line 2018-05-04 14:46:33 -07:00
Philip Kahn 3459c47bfa
Also replace root version to Python3 2018-05-04 14:00:11 -07:00
Philip Kahn eaecb49a5f
Change darknet.py to Python 3 compatibility 2018-05-04 13:59:28 -07:00
AlexeyAB 89354d0a0c Fixed memory leaks. And fixes for Web-camera and IP-camera. 2018-05-04 23:52:05 +03:00
AlexeyAB 4232ace376 Fix webcam memory leak 2018-05-04 18:37:33 +03:00
iovodov 028696bf15 Output improvements for detector results:
When printing detector results, output was done in random order, obfuscating results for interpreting. Now:
1. Text output includes coordinates of rects in (left,right,top,bottom in pixels) along with label and score
2. Text output is sorted by rect lefts to simplify finding appropriate rects on image
3. If several class probs are > thresh for some detection, the most probable is written first and coordinates for others are not repeated
4. Rects are imprinted in image in order by their best class prob, so most probable rects are always on top and not overlayed by less probable ones
5. Most probable label for rect is always written first
Also:
6. Message about low GPU memory include required amount
2018-05-03 16:33:46 +03:00
Alexey 535353cdaa
Merge pull request #737 from IlyaOvodov/Fix_thin
FIX #736: Detector does not draw rects for images with small resolutions
2018-05-03 13:18:29 +03:00
iovodov 92b25a7200 FIX #736: Detector does not draw rects for images with small resolutions 2018-05-03 12:43:48 +03:00
AlexeyAB a0e288f0dc Increased speed of darknet.py. Fixed functions related to resize_image(). 2018-05-01 02:17:49 +03:00
Alexey 5e3dcb6f34
Update Readme.md 2018-04-26 17:01:48 +03:00
AlexeyAB 15139eb6ab Fixed TP/FP/FN, IoU calculation for specified threshold 2018-04-24 22:26:55 +03:00
AlexeyAB 3df335bb50 Fixed SSE4.1 dependencies when AVX=1 on Linux 2018-04-23 23:15:21 +03:00
Alexey a2f3644e87
Merge pull request #675 from IlyaOvodov/Flip_Fix
Fix of issue #674: parameter "flip" is added to [net] parameters for cla…
2018-04-21 23:56:46 +03:00