擅长:python、mysql、java
<p>你为什么不直接用字典来保存你的结果呢?你知道吗</p>
<pre><code>results={};
for id in range(1,5):
_remainderFV, _remainderOut, _remainderOutID = _detector.get_fv(_deFV, _deMeta['_remainID'+str(id)])
_remainderPredOut = _detector.classifer_prediction(_remainderFV, _deMeta)
_remainderResult = _detector.result_calculation(_remainderOut, _remainderPredOut, _deMeta, tag='_remainID'+str(id))
results[id]=_remainderResult
</code></pre>