theislab / scgen

Single cell perturbation prediction
https://scgen.readthedocs.io
GNU General Public License v3.0
260 stars 52 forks source link

Wrong path to save the model in the keras model #19

Closed alirezaomidi closed 4 years ago

alirezaomidi commented 4 years ago

Hi. It seems the path you save the model is wrong. It should be saved in path self.model_to_use.

https://github.com/theislab/scgen/blob/8c6b0529ae22d99ce5a365a2d58a42abac4e29cb/scgen/models/_vae_keras.py#L481-L483