-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
user
committed
Aug 23, 2021
0 parents
commit 2439f40
Showing
6 changed files
with
736 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.bin filter=lfs diff=lfs merge=lfs -text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
project(deepbooru-ncnn) | ||
|
||
cmake_minimum_required(VERSION 3.9) | ||
|
||
set(CMAKE_CXX_STANDARD 17) | ||
set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
set(CMAKE_CXX_EXTENSIONS OFF) | ||
set(CUSTOM_WARNINGS "-Wall -Wextra -Wno-unused-parameter -Wno-comment -Wno-unused-function -Wold-style-cast -Wsign-conversion -Wno-system-headers") | ||
set(CMAKE_CXX_FLAGS_RELEASE "-O3") | ||
|
||
find_package(Threads REQUIRED) | ||
find_package(ncnn REQUIRED) | ||
find_package(ImageMagick REQUIRED) | ||
find_package(ImageMagick COMPONENTS MagickWand REQUIRED) | ||
|
||
add_executable(dd-ncnn dd_main.cxx) | ||
include_directories(${ImageMagick_MagickWand_INCLUDE_DIRS}) | ||
target_link_libraries(dd-ncnn ncnn ${ImageMagick_LIBRARIES}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# deepbooru-ncnn | ||
|
||
Describes animu images | ||
|
||
run ``dd-ncnn -s -i *.webp`` on the images, run on list of images to not load model a billion times |
Large diffs are not rendered by default.
Oops, something went wrong.
Git LFS file not shown
Oops, something went wrong.