pfnet / PaintsChainer

line drawing colorization using chainer
https://paintschainer.preferred.tech/
MIT License
3.77k stars 557 forks source link

Offline Standalone exe/mode #85

Open MrFlapjacks opened 7 years ago

MrFlapjacks commented 7 years ago

Anyway to compile a working offline mode so we can use it without internet or servers?

abbychau commented 7 years ago

The source itself can be run without internet or server. You can also try the gimpDaemon with gimp plugin mentioned inside at this moment. An one-off executable can be modified by referencing server.py or gimpDaemon.py with some necessary modifications because you need to handle the part of the input color hint.

MrFlapjacks commented 7 years ago

Oh cool. How do you run it /set it up without internet? I tried the default files from the master list, everything looked right but when hitting the "colorize" button, it'd just say "ServerError."

I'm not sure if I need to edit something to use it locally or what.

abbychau commented 7 years ago

you can put the console output of error here. We can see what the actual problem is.

Tedko commented 7 years ago

did u start the local server etc?

6DammK9 commented 7 years ago

Without internet: Install and start the local server, open browser and type localhost:8000 to access your local server. For making server log (actually it pops out everything on the screen), type python server.py > log.txt to redirect the logs. ("\r\n" incoming)

ktynn commented 7 years ago

Hey guys, as a non-coder/programmer, i find it really hard to understand how to use PaintsChainer offline. I'm using it as a basis for some new artwork i'm making and i'm loving it. It would be nice if there was a simple/offline alternative.

Are there plans in the making for releasing something like this?

taizan commented 7 years ago

can I ask why are you need ofline version? Local version is slower than online version without GPU setup.

ktynn commented 7 years ago

Well if the website would ever be taken down, or i would have no access to internet, an offline version (like a tiny exe or program) would allow me to continue to make colorized versions of my sketches to work on/with.

So at this point i just hope the website is gonna be online forever.

taizan commented 7 years ago

I see thanks for loving my product. I have no plan for developping of stand alone ver but it maybe not so much difficult. So it could be possible to hope volunteer.

ktynn commented 7 years ago

Let's hope so :-)

Thanks for making & sharing this!

abbychau commented 7 years ago

@ktynn https://github.com/abbychau/PaintsChainer/releases

please see if this works for u

ktynn commented 7 years ago

@abbychau thank you so much for this, i will try it out tomorrow mate!

ktynn commented 7 years ago

@abbychau i tried it but it got this error, made a thread about it. error

abbychau commented 7 years ago

have you installed UCRT? https://www.microsoft.com/en-us/download/details.aspx?id=48234

ktynn commented 7 years ago

@abbychau No :/ i downloaded the ZIP, i have a bunch of files but everytime i open one it says its not meant for the operating system. I'm running Windows 10 but the files in the zip are for Windows 8 and "6"? notsurewhichone

Not sure what to do here :|

abbychau commented 7 years ago

hi ktynn, I am not sure if http://landinghub.visualstudio.com/visual-cpp-build-tools is required for this build. You may install it first and try again.

Do you want to be contacted through instant messengers? you can email yours to my email abbychau (at) gmail.com

I simply want a faster debug response :)

Moreover, it would be nice if you can post the screenshot for the console at the upper part too.