Sun Xiaolei

Results 3 comments of Sun Xiaolei

> > 尝试做了log更改 没解决 > > 能否定位到哪行代码出错 Traceback (most recent call last): File "d:\workspace\LSTM-master\LSTM无框架源码实现\src\scenario_seqCurve.py", line 30, in logging.config.fileConfig(log_conf) File "C:\Users\80543\AppData\Local\Programs\Python\Python38-32\lib\logging\config.py", line 71, in fileConfig formatters = _create_formatters(cp) File "C:\Users\80543\AppData\Local\Programs\Python\Python38-32\lib\logging\config.py", line...

> 谢谢回答,logger模块都注释掉后有新的报错: File "D:\workspace\LSTM-master\LSTM无框架源码实现\src\scenario_seqCurve.py", line 318, in main_rnn y, loss_v,_,result = sess.validation(x_v, y_v[:,:,0]) File "D:\workspace\LSTM-master\LSTM无框架源码实现\src\scenario_seqCurve.py", line 327, in main_rnn() IndexError: too many indices for array: array is 1-dimensional, but 3...

try to down your python version to 3.10, I met the same problem and found it's because python3.11 so I created a new conda env and solved it.