From b34c913d2eb396b6eb845c8573edbd4002777e74 Mon Sep 17 00:00:00 2001 From: AlexeyAB Date: Wed, 16 May 2018 15:16:41 +0300 Subject: [PATCH] darknet.py change libdarknet.so to darknet.so --- build/darknet/x64/darknet.py | 2 +- darknet.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/darknet/x64/darknet.py b/build/darknet/x64/darknet.py index 2deff4fb..9888c229 100644 --- a/build/darknet/x64/darknet.py +++ b/build/darknet/x64/darknet.py @@ -118,7 +118,7 @@ if os.name == "nt": lib = CDLL(winGPUdll, RTLD_GLOBAL) print("Environment variables indicated a CPU run, but we didn't find `"+winNoGPUdll+"`. Trying a GPU run anyway.") else: - lib = CDLL("./libdarknet.so", RTLD_GLOBAL) + lib = CDLL("./darknet.so", RTLD_GLOBAL) lib.network_width.argtypes = [c_void_p] lib.network_width.restype = c_int lib.network_height.argtypes = [c_void_p] diff --git a/darknet.py b/darknet.py index 2deff4fb..9888c229 100644 --- a/darknet.py +++ b/darknet.py @@ -118,7 +118,7 @@ if os.name == "nt": lib = CDLL(winGPUdll, RTLD_GLOBAL) print("Environment variables indicated a CPU run, but we didn't find `"+winNoGPUdll+"`. Trying a GPU run anyway.") else: - lib = CDLL("./libdarknet.so", RTLD_GLOBAL) + lib = CDLL("./darknet.so", RTLD_GLOBAL) lib.network_width.argtypes = [c_void_p] lib.network_width.restype = c_int lib.network_height.argtypes = [c_void_p]