Hi,

I'm struggling trying to import a TensorFlow model that has been trained on my own server.  

I am very experienced with TensorFlow and have been using QC for some time also.  It looks like it might be an issue with QC's TF/Keras H5 reader from what I can see.  Anyone have any ideas?

def Initialize(self):
        self.SetStartDate(2020, 9, 19)  # Set Start Date
        self.SetCash(100000)  # Set Strategy Cash
        self.AddEquity("SPY", Resolution.Minute)
        self.model = self.Download('model.h5')
        self.ai_model = tf.keras.models.load_model(self.model)
During the algorithm initialization, the following exception has occurred: UnicodeEncodeError : 'utf-8' codec can't encode characters in position 423-424: surrogates not allowed
  at isfile
    st = os.stat(path)
  File "site-packages/h5py/_hl/base.py" in genericpath.py: line 29
 UnicodeEncodeError : 'utf-8' codec can't encode characters in position 423-424: surrogates not allowed

Author