Tensorflow tf.compat.as_bytes Linux与Windows

从下面的代码片段生成的字符串在Linux和Windows之间会有所不同吗?

export_path = os.path.join(
                                    tf.compat.as_bytes(path),tf.compat.as_bytes('12')
                                )

我正在尝试加载和保存tensorflow模型,但是我注意到我无法在Windows中读取在Linux中保存的模型。我以为字节以某种方式表示不同。顺便说一下,我正在使用tensorflow-gpu版本1.10.0。 Python 3.5.6。

sugartian 回答:Tensorflow tf.compat.as_bytes Linux与Windows

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3126346.html

大家都在问