冻结图形索引错误:列表索引超出范围

问题描述

我正在学习本教程 https://github.com/developershutt/Human-Activity-Recognition-on-Android/blob/master/Human%20Activity%20Recognition.ipynb,但在运行最后一行代码时出现错误“IndexError: list index out of range”。关于导致此问题的原因以及如何修复它以冻结我的图表的任何建议?

引起错误代码行;

freeze_graph.freeze_graph('models/'+model_name + '_graph.pbtxt',None,False,'models/'+model_name+'.chkp',output_node_name,'save/restore_all','save/Const:0','models/frozen_' + model_name + '.pb',True,"")

IndexError: 列表索引超出范围

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)