-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
lllyasviel
committed
Jun 15, 2022
1 parent
82320c7
commit 6e64700
Showing
580 changed files
with
51,528 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,40 @@ | ||
# Style2Paints V4.5 | ||
|
||
This is the source code of the Style2Paints V4.5. In this forlder, the codes implements the functionality of what can be achieved in the compiled software "style2paints45beta1214B.zip". | ||
|
||
# Install | ||
|
||
You will need CUDA 10.0, CuDNN 7, Python 3.6 | ||
|
||
pip install opencv-contrib-python==4.1.0.25 | ||
pip install tensorflow_gpu==1.14.0 | ||
pip install bottle==0.12.10 | ||
pip install tqdm | ||
|
||
Then download the software "style2paints45beta1214B.zip", put the model files like | ||
|
||
s2p_v45_server/nets/inception.net | ||
s2p_v45_server/nets/gau.npy | ||
s2p_v45_server/nets/refs.net | ||
... | ||
|
||
# Run | ||
|
||
Simply run the python file "Style2PaintsV45_source.py" like | ||
|
||
cd s2p_v45_server | ||
python Style2PaintsV45_source.py | ||
|
||
Note that if you see something like | ||
|
||
WARNING:tensorflow:No training configuration found in save file: the model was *not* compiled. Compile it manually. | ||
|
||
Then just ignore it. | ||
|
||
When the service is ready, you can use the software at | ||
|
||
http://127.0.0.1:8233/index.html | ||
|
||
# Client Source Code | ||
|
||
The user interface is written in Cocos Creator. Although you do not need to touch the client UI code, if you want to do so, you may need [Cocos Creator](https://www.cocos.com/creator). |
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,67 @@ | ||
#///////////////////////////////////////////////////////////////////////////// | ||
# Fireball Projects | ||
#///////////////////////////////////////////////////////////////////////////// | ||
|
||
library/ | ||
temp/ | ||
local/ | ||
build/ | ||
|
||
#///////////////////////////////////////////////////////////////////////////// | ||
# Logs and databases | ||
#///////////////////////////////////////////////////////////////////////////// | ||
|
||
*.log | ||
*.sql | ||
*.sqlite | ||
|
||
#///////////////////////////////////////////////////////////////////////////// | ||
# files for debugger | ||
#///////////////////////////////////////////////////////////////////////////// | ||
|
||
*.sln | ||
*.csproj | ||
*.pidb | ||
*.unityproj | ||
*.suo | ||
|
||
#///////////////////////////////////////////////////////////////////////////// | ||
# OS generated files | ||
#///////////////////////////////////////////////////////////////////////////// | ||
|
||
.DS_Store | ||
ehthumbs.db | ||
Thumbs.db | ||
|
||
#///////////////////////////////////////////////////////////////////////////// | ||
# exvim files | ||
#///////////////////////////////////////////////////////////////////////////// | ||
|
||
*UnityVS.meta | ||
*.err | ||
*.err.meta | ||
*.exvim | ||
*.exvim.meta | ||
*.vimentry | ||
*.vimentry.meta | ||
*.vimproject | ||
*.vimproject.meta | ||
.vimfiles.*/ | ||
.exvim.*/ | ||
quick_gen_project_*_autogen.bat | ||
quick_gen_project_*_autogen.bat.meta | ||
quick_gen_project_*_autogen.sh | ||
quick_gen_project_*_autogen.sh.meta | ||
.exvim.app | ||
|
||
#///////////////////////////////////////////////////////////////////////////// | ||
# webstorm files | ||
#///////////////////////////////////////////////////////////////////////////// | ||
|
||
.idea/ | ||
|
||
#////////////////////////// | ||
# VS Code | ||
#////////////////////////// | ||
|
||
.vscode/ |
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,2 @@ | ||
# hello-world | ||
Hello world new project template. |
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,6 @@ | ||
{ | ||
"ver": "1.0.1", | ||
"uuid": "29f52784-2fca-467b-92e7-8fd9ef8c57b7", | ||
"isGroup": false, | ||
"subMetas": {} | ||
} |
Oops, something went wrong.