rltrader
rltrader copied to clipboard
코드 오류
2019-10-11 10:57:05.753075: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
LR: 0.001, DF: 0, TU: [1, 2], DRT: 0.2
C:\Users\PRO\PycharmProjects\RL AI TEST1\RLTRADER\visualizer.py:95: UserWarning: Attempting to set identical left == right == 0 results in singular transformations; automatically expanding.
ax.set_xlim(xlim) # x축 limit 재설정
Traceback (most recent call last):
File "C:/Users/PRO/PycharmProjects/RL AI TEST1/RLTRADER/main.py", line 61, in
이문제에 대한 해답을 아시는지요?
@leehj850212 안녕하세요.
IndexError: too many indices for array
이 에러 메시지만 봤을 때는 outvals가 numpy array가 아닌 것 같은 생각이 듭니다.
https://github.com/quantylab/rltrader/blob/master/visualizer.py#L38
이 부분 확인 부탁드립니다.