Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/329.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/matlab/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/visual-studio-code/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 我可以将Tensorflow keras predict方法保存为可执行文件吗?_Python_Matlab_Tensorflow_Keras_Exe - Fatal编程技术网

Python 我可以将Tensorflow keras predict方法保存为可执行文件吗?

Python 我可以将Tensorflow keras predict方法保存为可执行文件吗?,python,matlab,tensorflow,keras,exe,Python,Matlab,Tensorflow,Keras,Exe,我是Tensorflow的新手,我正在开发一个在MATLAB中准备数据的应用程序,在Python中调用Tensorflow来训练神经网络,然后在MATLAB中完成数据处理。理想情况下,最终用户不必安装Python或Tensorflow,我可以将所有的神经网络训练打包成一个或两个可执行文件,从MATLAB调用,但现在,我只是想找到一种方法,将Tensorflow预测方法保存为可执行文件 我已经考虑过用PyInstaller函数来包装整个过程,但是我想把培训和评估分开 如果有一个很好的方法可以做到这

我是Tensorflow的新手,我正在开发一个在MATLAB中准备数据的应用程序,在Python中调用Tensorflow来训练神经网络,然后在MATLAB中完成数据处理。理想情况下,最终用户不必安装Python或Tensorflow,我可以将所有的神经网络训练打包成一个或两个可执行文件,从MATLAB调用,但现在,我只是想找到一种方法,将Tensorflow预测方法保存为可执行文件

我已经考虑过用PyInstaller函数来包装整个过程,但是我想把培训和评估分开

如果有一个很好的方法可以做到这一点,或者如果有人对此有一些直觉或想法,我将非常感激