Comments (7)
First, make sure you could run the backend server.
For example, python app_stylize.py
, and it will listen to the localhost port.
Uncomment this line # CORS(app)
in both app_pix.py
and app_stylize.py
to allow CORS
Then, rerun the two scripts separately
You could also use F12
in your browser to check the console output of the frontend webpage and see if the backend service is working.
Good luck
from sketch-to-art.
Thank you for your reply, but there still have some problems,
OSError: File models/pix2pix/export.meta does not exist.
from sketch-to-art.
The pretrained pix2pix model is here: https://github.com/mtobeiyf/sketch-to-art/releases
Please download and put it in the ./models/pix2pix
directory.
And other models could be downloaded via the scripts provided under the ./models
directory.
from sketch-to-art.
ah...Maybe it does work,
What's the problem?
from sketch-to-art.
Have you run the app_stylize.py
script?
And you have to make sure the models are placed under the ./models
folder
See https://github.com/mtobeiyf/sketch-to-art/blob/master/server/README.md and
https://github.com/mtobeiyf/sketch-to-art/blob/master/server/models/download_models.sh
from sketch-to-art.
I tyied, but i always got this issue, "ImportError: cannot import name 'preserve_colors_np' from 'utils' (E:\Workspace\VirtualEnv\sketch-to-art\lib\site-packages\utils_init_.py)", I can't find a way to solve it on the web...
from sketch-to-art.
Please go to the server root by $cd server
and run $ python app_stylize.py
not $ python server/app_stylize.py
from sketch-to-art.
Related Issues (12)
- Resources for README HOT 4
- docker run error HOT 4
- server not responding HOT 1
- How Can The Backend Runs So Fast? HOT 4
- Thank you very much for sharing this :)
- ๐ Permission denied error when download model HOT 1
- What dataset you use for pix2pix? HOT 1
- Where is the data source of your pre-trained model? HOT 1
- Key encoder_decoder_relu5_1_1/decoder_relu5_1/decoder_model_relu5_1/relu5_1_0/relu5_1_0/bias not found in checkpoint HOT 3
- ไปฃ็ ้ฎ้ข HOT 5
- ๆฐๆฎ้้ฎ้ขไปฅๅๆจกๅ่ฎญ็ป้ฎ้ข HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sketch-to-art.