Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Darknet.info.yml #2389

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ convnet/
decaf/
submission/
cfg/
weights/
build/
darknet
.fuse*

Expand Down
2 changes: 2 additions & 0 deletions .idea/darknet.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

644 changes: 644 additions & 0 deletions .idea/workspace.xml

Large diffs are not rendered by default.

55 changes: 55 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
cmake_minimum_required(VERSION 3.5)
project(darknet C)

set(GPU 1)
set(CUDNN 0)
set(OPENCV 0)
set(OPENMP 0)
set(DEBUG 1)

set(CMAKE_CXX_STANDARD 14)
set(CMAKE_BINARY_DIR ${CMAKE_CURRENT_SOURCE_DIR}/build)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(DEBUG 1)

include_directories(src include)

set (OPTS -Ofast)

if ( DEBUG )
set(OPTS ${OPTS} -O0 -g )
endif()

set ( NVCC nvcc )
set ( AR ar )
set ( ARFLAGS rcs )
set ( LDFLAGS -lm -pthread )
set ( CFLAGS ${OPTS} -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -fPIC)

if ( OPENMP )
set(CFLAGS ${CFLAGS} -fopenmp )
endif()

if ( OPENCV )
set(COMMON ${COMMON} -DOPENCV )
set(CFLAGS ${CFLAGS} -DOPENCV )
set(LDFLAGS ${LDFLAGS} -L${env.OPENCV_HOME}/lib -lopencv_core -lstdc++)
endif()

if ( GPU )
set(COMMON ${COMMON} -DGPU -I/usr/local/cuda/include/ )
set(CFLAGS ${CFLAGS} -DGPU )
set(LDFLAGS ${LDFLAGS} -lstdc++ -L/usr/local/cuda/lib64 -lcuda -lcudart -lcublas -lcurand)
endif()

if ( CUDNN )
set(COMMON ${COMMON} -DCUDNN )
set(CFLAGS ${CFLAGS} -DCUDNN )
set(LDFLAGS ${LDFLAGS} -lcudnn)
endif()

add_subdirectory(src)
add_subdirectory(examples)

105 changes: 0 additions & 105 deletions Makefile

This file was deleted.

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
This fork is to support YOLO implementation on FPGA

Contact: Oscar Kramer, [email protected], 321-821-1150

![Darknet Logo](http://pjreddie.com/media/files/darknet-black-small.png)

# Darknet #
Expand Down
7 changes: 7 additions & 0 deletions darknet.info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
data_classification:
- <replace me>
poc:
- name: Jane Smith
email: [email protected]
- name: Tasmania
email: [email protected]
6 changes: 6 additions & 0 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
message("In ${CMAKE_CURRENT_SOURCE_DIR}")
FILE(GLOB EXAMPLE_SOURCES "*.c" PARENT_SCOPE)
add_executable(darknet ${EXAMPLE_SOURCES} )
SET_TARGET_PROPERTIES(darknet PROPERTIES LINKER_LANGUAGE C)
TARGET_LINK_LIBRARIES(darknet DarkNet pthread m)

Loading