mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
include some requested modifications
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
|
||||
#include <Winsock2.h>
|
||||
#include <direct.h> /* for _getcwd() and _chdir() */
|
||||
#include <getopt.h>
|
||||
#include "getopt.h"
|
||||
#include <io.h>
|
||||
#include <process.h> /* for getpid() and the exec..() family */
|
||||
#include <stdlib.h>
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifdef _WIN32
|
||||
#include <getopt.h>
|
||||
#include "getopt.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
5
src/go.c
5
src/go.c
@ -10,7 +10,8 @@
|
||||
|
||||
int inverted = 1;
|
||||
int noi = 1;
|
||||
static const unsigned int n_ind = 5;
|
||||
//static const unsigned int n_ind = 5;
|
||||
#define n_ind 5
|
||||
|
||||
typedef struct {
|
||||
char **data;
|
||||
@ -841,5 +842,3 @@ void run_go(int argc, char **argv)
|
||||
else if(0==strcmp(argv[2], "test")) test_go(cfg, weights, multi);
|
||||
else if(0==strcmp(argv[2], "engine")) engine_go(cfg, weights, multi);
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include <cuda_runtime.h>
|
||||
#include <cuda_runtime.h>
|
||||
#include <curand.h>
|
||||
#include <cublas_v2.h>
|
||||
#include <stdint.h>
|
||||
|
@ -13,6 +13,9 @@
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#ifndef USE_CMAKE_LIBS
|
||||
#pragma warning(disable: 4996)
|
||||
#endif
|
||||
|
||||
double what_time_is_it_now()
|
||||
{
|
||||
|
Reference in New Issue
Block a user