merve HF staff commited on
Commit
7ed71e4
1 Parent(s): 35e561e

Update pipeline.py

Browse files
Files changed (1) hide show
  1. pipeline.py +1 -1
pipeline.py CHANGED
@@ -10,7 +10,7 @@ class PreTrainedPipeline():
10
 
11
  # load the model
12
  self.decoder = keras.models.load_model(os.path.join(path, "decoder"))
13
- self.decoder = keras.models.load_model(os.path.join(path, "encoder"))
14
 
15
  image_model = tf.keras.applications.InceptionV3(include_top=False,
16
  weights='imagenet')
 
10
 
11
  # load the model
12
  self.decoder = keras.models.load_model(os.path.join(path, "decoder"))
13
+ self.encoder = keras.models.load_model(os.path.join(path, "encoder"))
14
 
15
  image_model = tf.keras.applications.InceptionV3(include_top=False,
16
  weights='imagenet')