回溯(最近通话最近一次):
文件“ boston3.py”,第50行,在 history = model.fit(train_data,train_label,epochs = EPOCHS,validation_split = 0.2,verbose = 0,callbacks = [PrintDot()]) 文件 “ F:\ python-3.6.6 \ lib \ site-packages \ tensorflow \ python \ keras \ engine \ training.py”, 1669行,适合 validate_steps = validation_steps)文件“ F:\ python-3.6.6 \ lib \ site-packages \ tensorflow \ python \ keras \ engine \ training_arrays.py”, 第368行,在model_iteration中 为我在indexs_for_conversion_to_dense中:UnboundLocalError:之前引用的局部变量'indices_for_conversion_to_dense' 作业