ashnkumar / sketch-code

Keras model to generate HTML code from hand-drawn website mockups. Implements an image captioning architecture to drawn source images.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The training data is not available!

QKflame opened this issue · comments

I had the same problem

I have the same issue.

same issue. so ...then...?

(py36) E:\koutu\on_web\sketch-code\src>python convert_single_image.py --png_path ../examples/drawn_example1.png --output_folder ./generated_html --model_json_file ../bin/model_json.json --model_weights_file ../bin/weights.h5
Using TensorFlow backend.
Traceback (most recent call last):
File "convert_single_image.py", line 53, in
main()
File "convert_single_image.py", line 49, in main
model_weights_path = model_weights_file)
File "E:\koutu\on_web\sketch-code\src\classes\inference\Sampler.py", line 23, in init
self.model = self.load_model(model_json_path, model_weights_path)
File "E:\koutu\on_web\sketch-code\src\classes\inference\Sampler.py", line 70, in load_model
json_file = open(model_json_path, 'r')
FileNotFoundError: [Errno 2] No such file or directory: '../bin/model_json.json'

Hello, how can I solve the problem?