求解,这个是什么原因,File “C:\Users\lenovo\Anaconda3\envs\TF2.0\lib\site-packages\keras\engine\training_arrays.py”, line 205, in fit_loop
if batch_index == len(batches) - 1: # Last batch.
UnboundLocalError: local variable ‘batch_index’ referenced before assignment 代码里面也没有用到batch_index,求解,这个怎么处理,感谢
local variable ‘batch_index‘ referenced before assignment
最新推荐文章于 2024-06-26 08:30:00 发布