-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Instruction] Run style2paints v3 offline #100
Comments
@onsoho I tried using 127.0.0.1:80* but it did not work either. I'll check back tomorrow. Thanks. |
@Ben76904 @onsoho Try 127.0.0.1:80 |
I'm getting a white blank page, any ideas why? |
@Ben76904 try 0.0.0.0:80 and use Google Chrome. |
@CambaCambaCambaCambaCambaCamba
Use Chrome or Edge to open the page |
@SNSLogty Had to change one other line as well after following your instructions. Or else I get white blank page. It works now. Thank you so much! Here's the two lines.
|
For me, the offline version is slow. Uploading an image takes 30 seconds and to render a painting takes about 50 seconds. I did the CPU install. Is this normal? |
@SNSLogty, how can i integrate Danbooru2017 Dataset? |
I believe it is normal. But, taking 30s to "upload" sounds strange for local sever. Maybe some works are done during the upload process. |
@Luke-lujunxian Good to know. Thanks! |
@SNSLogty # Because the other one apparently only searches in the ./game directory
@route('/rooms/<filename:path>')
def send_static(filename):
return static_file(filename, root='./gamerooms') I added it before @route('/<filename:path>')
def send_static(filename):
return static_file(filename, root='./game') System Information: |
@stefnotch i also had the same problem, i solved it by replacing server.py with server.py_corrected |
@Ikar0s I replaced mine with the corrected server.py, however the issue persisted (1).
|
@stefnotch Try non-install pack |
@melocule |
As written in the instructions, you'll need to download and run |
I get this error. |
@Datguypotato |
@852953573 try this version |
谢谢 thank you |
@exi3t |
thanx,I have already used the noinstall version and it works. |
StackOverflow yields a bunch of results when searching for the error message Some of the top results are |
@Tomluk811 You may use 32-bit version python,Try to install the 64-bit version. |
How can I stop the server? |
那只是缓存 |
kusa,谢谢orz |
guys i |
中文版已失效. |
Here is the instruction about how to install the offline code on Windows(x64) devices.
中文教程:http://c7.gg/fEPeq
Instruction
Anaconda is a useful tool to contain python env. https://www.anaconda.com/
![pic](https://raw.githubusercontent.com/SNSLogty/style2paints_v3_launcher/master/4.png)
![pic](https://raw.githubusercontent.com/SNSLogty/style2paints_v3_launcher/master/5.png)
![pic](https://raw.githubusercontent.com/SNSLogty/style2paints_v3_launcher/master/6.png)
![pic](https://raw.githubusercontent.com/SNSLogty/style2paints_v3_launcher/master/1.png)
![pic](https://raw.githubusercontent.com/SNSLogty/style2paints_v3_launcher/master/2.png)
1.Download python 3.6.7 and install.
I.If you have installed other version,you need to uninstall it.
2.Open cmd and input
pip install -r requirement_xxx.txt
GPU(GTX 1060 6G or better):
https://raw.githubusercontent.com/SNSLogty/style2paints_v3_launcher/master/requirement_gpu.txt
CPU:(high compatibility)
https://raw.githubusercontent.com/SNSLogty/style2paints_v3_launcher/master/requirement_cpu.txt
3.Download the source code and models
Put the models into 'server' folder.
4.Run server.py
5.When you see "Listening to 0.0.0.0:port" , open "http://127.0.0.1:port/" in your web browser (use Chrome or Edge.Do NOT use firefox)
F&A
About error 403 Forbidden: #84
you can download server.py_corrected and replace the file.
**About V4 resources:**#87 (comment)
You can get the latest news from our social account
Twitter: https://twitter.com/IlIIlIIIllIllII
Sina Weibo: https://www.weibo.com/STYLE2PAINTS
Bilibili(not official):https://space.bilibili.com/4582779
Youtube:https://www.youtube.com/channel/UCFEVJIaqRneO2Y3VpdIFI3w
This Tutorial is not perfect at present.
If you have too many unknown problems.
Try non-install pack (CPU)
https://mega.nz/#!x8lhQa6Q!EZb75h9f1VoWrLDiQj79GK5UVC0LM3G785wiChfzeJ0
you can find the instruction here
#71
The text was updated successfully, but these errors were encountered: