taneemishere
commited on
Commit
β’
56e3f4f
1
Parent(s):
cd6f682
path to autoencoder issue sovled on local
Browse files
classes/model/__pycache__/pix2code2.cpython-38.pyc
CHANGED
Binary files a/classes/model/__pycache__/pix2code2.cpython-38.pyc and b/classes/model/__pycache__/pix2code2.cpython-38.pyc differ
|
|
classes/model/pix2code2.py
CHANGED
@@ -21,7 +21,7 @@ class pix2code2(AModel):
|
|
21 |
# Load the pre-trained autoencoder model
|
22 |
autoencoder_model = autoencoder_image(input_shape, input_shape, output_path)
|
23 |
autoencoder_model.load('autoencoder')
|
24 |
-
path = "
|
25 |
path_to_autoencoder = "{}autoencoder.h5".format(path)
|
26 |
autoencoder_model.model.load_weights(path_to_autoencoder)
|
27 |
# Get only the model up to the encoded part
|
|
|
21 |
# Load the pre-trained autoencoder model
|
22 |
autoencoder_model = autoencoder_image(input_shape, input_shape, output_path)
|
23 |
autoencoder_model.load('autoencoder')
|
24 |
+
path = "classes/model/bin/"
|
25 |
path_to_autoencoder = "{}autoencoder.h5".format(path)
|
26 |
autoencoder_model.model.load_weights(path_to_autoencoder)
|
27 |
# Get only the model up to the encoded part
|