问题
A model is trained with GPU and result is saved by checkpoint file. The saved checkpoint file can be run by cpu-tensorflow? If not, can convert the saved checkpoint file so as to run model in cpu-tensorflow?
回答1:
Yes! It normally can!
The exception is with tf.device('gpu:0')
statements. If you do not have them in your code you are good to go!
Good luck!
来源:https://stackoverflow.com/questions/42951543/tensorflow-model-trainedcheckpoint-files-on-gpu-can-be-converted-to-cpu-runni