hwalsuklee / tensorflow-fast-style-transfer

A simple, concise tensorflow implementation of fast style transfer
Apache License 2.0
245 stars 70 forks source link

ckpt problems #22

Open tom99763 opened 4 years ago

tom99763 commented 4 years ago

'' There is no la_muse.ckpt Tensorflow r0.12 requires 3 files related to *.ckpt If you want to restore any models generated from old tensorflow versions, this assert might be ignored '' i use ''la_muse.ckpt" to test the code but the error shows above,does anyone know how to solve it?

BangYoon commented 3 years ago

If the checkpoint filename is model.ckpt-1000.data-00000-of-00001 then you should only use model.ckpt-1000

For example, python run_test.py --content img/test.jpg --style_model model/model.ckpt-1000 --output result.jpg