Missing autoencoder.json while training

#3
by ravra - opened

Trying to train it using command

provide input path to training data and output path to save trained model and metadata

usage: train.py

./train.py ../datasets/web/training_set ../bin

train on images pre-processed as converted to numpy arrays

./train.py ../datasets/web/training_features ../bin

It is generating error like:

Traceback (most recent call last):
File "/content/html-code-generation-from-images-with-deep-neural-networks/model/./train.py", line 71, in
run(input_path, output_path, train_autoencoder=train_autoencoder)
File "/content/html-code-generation-from-images-with-deep-neural-networks/model/./train.py", line 55, in run
model = Main_Model(input_shape, output_size, output_path)
File "/content/html-code-generation-from-images-with-deep-neural-networks/model/classes/model/Main_Model.py", line 22, in init
autoencoder_model.load('autoencoder')
File "/content/html-code-generation-from-images-with-deep-neural-networks/model/classes/model/AModel.py", line 22, in load
with open("{}/{}.json".format(self.output_path, output_name), "r") as json_file:
FileNotFoundError: [Errno 2] No such file or directory: '../bin/autoencoder.json'

Can you please describe on this. Please suggest.

Sign up or log in to comment