Comments (12)
You could potentially refer to the latest code from the branch darknet-cpp-windows, as it is fixed there (https://github.com/prabindh/darknet/tree/darknet-cpp-windows/src/utils.c). I will pull in the fix to the master after some more productising of the windows branch. Thanks for noting this.
from darknet.
Could you also update the gcc version being used on your side ?
from darknet.
$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin16.3.0
from darknet.
@prabindh the window version's code fixed the issue
from darknet.
@prabindh just a quick question, i was using original and your fork of darknet-cpp to train my custom datasets(7 classes, 500x500resolution), they all fails randomly with segmentatiion fault after random iterations
[1] 31987 segmentation fault ./darknet-cpp detector train fsd/fsd.data fsd/yolo-fsd.cfg
I'm not sure whether this is caused by my image files, so i use opencv to convert all my images to jpg, then i try to put tons of printf() in source code to see which step messed up the memory, but still no luck. maybe this time i'll try to use photoshop to batch conversion
any suggestions?
thanks
from darknet.
from darknet.
it just failed randomly, i logged out the image and label just before it fails, but i can see no issue.
i wrote a chrome extension for creating annotation: https://github.com/eisneim/dl_annotator scripts folder contains my scripts to generate yolo labels,
each label:
2 0.265196 0.137720 0.570056 0.515504
my scripts ensures each rect box's x,y value must be greater than 0 and less than 1.0
maybe i should check it's order, minX, minY always first
anyway, thanks for your reply
from darknet.
After looking at https://github.com/eisneim/dl_annotator/blob/master/scripts/yolo_darknet.py, specifically
x = min(x1, x2) / width
It appears that the labelling is incorrect. Please check https://github.com/prabindh/euclid/blob/master/euclid.py for the coordinate format for the bounding boxes of Yolo.
from darknet.
@prabindh oh my! i just realized x y are center of rectangle! thank you
from darknet.
Please do not forget to close the issue if it is fixed. Thanks. You can raise a separate issue, for the crash that happens if labels are invalid.
from darknet.
thanks for your help, i got 30fps results
from darknet.
Just to let you know, the windows port has now been merged into master. Thx
from darknet.
Related Issues (20)
- Arapaho stream with camera HOT 4
- input.data HOT 2
- Yolo v3 is out, sync with the original code? HOT 3
- 0 prediction with arapaho build (Yolo V3) HOT 2
- upsample_cpu is not defined when GPU=0 HOT 2
- Video of type 8UC1 is not working HOT 9
- After 10 Minutes Arapaho program getting killed HOT 15
- Cuda 9 HOT 6
- darknet-cpp compilation failed on Ubuntu 16.04 HOT 6
- Memory corruption of Arapaho from a library HOT 4
- Cmake compile problem HOT 6
- Differences scores between Darknet and Arapaho HOT 5
- When the width and height of the input picture are not equal, the output box will shift on windows
- Add OpenCV 4.x support HOT 27
- Arapaho build issue HOT 3
- libv4l2: error getting capabilities: Inappropriate ioctl for device HOT 5
- Darknet saved weights are not giving outputs in this HOT 2
- Anyone tested darknet-cpp on Cuda 6.5 (Ubuntu 14.04)? HOT 5
- Trained in two classes the object can't be inference HOT 3
- error "identifier \"ipl_to_image\" is undefined","LineNumber": 234, File: arapaho.cpp HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from darknet.