mirror of
https://github.com/maciej3031/comixify.git
synced 2026-03-11 08:54:35 +00:00
Add minor fix
This commit is contained in:
parent
d94cf2eb93
commit
b5c4869b1d
2 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ gast==0.2.0
|
|||
grpcio==1.16.0
|
||||
gunicorn==19.9.0
|
||||
h5py==2.8.0
|
||||
Keras==2.2.2
|
||||
Keras==2.2.4
|
||||
Keras-Applications==1.0.6
|
||||
Keras-Preprocessing==1.0.5
|
||||
kiwisolver==1.0.1
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ class StyleTransfer():
|
|||
|
||||
frames = cls._resize_images(frames, size=384)
|
||||
frames = np.stack(frames)
|
||||
frames = frames / frames.max()
|
||||
frames = frames / 255
|
||||
stylized_imgs = comixGAN_model.generator.predict(frames)
|
||||
return list(255 * stylized_imgs)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue