You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I encountered an issue while executing the following command after your recent commit: python -m scripts.train_signals -c .\configs\config.jsonc.
#42
Open
iaananth opened this issue
Dec 12, 2023
· 3 comments
python -m scripts.train_signals -c .\configs\config.jsonc
2023-12-12 22:28:15.543659: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
WARNING:tensorflow:From C:\Users\RLDC\AppData\Local\Programs\Python\Python310\lib\site-packages\keras\src\losses.py:2976: The name tf.losses.sparse_softmax_cross_entropy is deprecated. Please use tf.compat.v1.losses.sparse_softmax_cross_entropy instead.
Loading signals from input file: C:\DATA_ITB\BTCUSDT\signals.csv
Signals loaded. Length: 525600. Width: 10
Input data size 525600 records. Range: [2022-12-12 10:54:00, 2023-12-12 10:53:00]
MODELS: 0%| | 0/36 [00:00<?, ?it/s]
Traceback (most recent call last):
File "C:\Users\RLC\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\RLC\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "D:\dell laptop E backup\mainbackup\trd\2025\check\intelligent-trading-bot\scripts\train_signals.py", line 258, in
main()
File "C:\Users\RLC\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1157, in call
return self.main(*args, **kwargs)
File "C:\Users\RLC\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
File "C:\Users\RLC\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\RLC\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "D:\dell laptop E backup\mainbackup\trd\2025\check\intelligent-trading-bot\scripts\train_signals.py", line 178, in main
apply_rule_with_score_thresholds(df, score_column_names, trade_model)
File "D:\dell laptop E backup\check\intelligent-trading-bot\common\gen_signals.py", line 209, in apply_rule_with_score_thresholds
signal_column = model.get("signal_columns")[0]
TypeError: 'NoneType' object is not subscriptable
The text was updated successfully, but these errors were encountered:
python -m scripts.train_signals -c .\configs\config.jsonc
2023-12-12 22:28:15.543659: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable
TF_ENABLE_ONEDNN_OPTS=0
.WARNING:tensorflow:From C:\Users\RLDC\AppData\Local\Programs\Python\Python310\lib\site-packages\keras\src\losses.py:2976: The name tf.losses.sparse_softmax_cross_entropy is deprecated. Please use tf.compat.v1.losses.sparse_softmax_cross_entropy instead.
Loading signals from input file: C:\DATA_ITB\BTCUSDT\signals.csv
Signals loaded. Length: 525600. Width: 10
Input data size 525600 records. Range: [2022-12-12 10:54:00, 2023-12-12 10:53:00]
MODELS: 0%| | 0/36 [00:00<?, ?it/s]
Traceback (most recent call last):
File "C:\Users\RLC\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\RLC\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "D:\dell laptop E backup\mainbackup\trd\2025\check\intelligent-trading-bot\scripts\train_signals.py", line 258, in
main()
File "C:\Users\RLC\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1157, in call
return self.main(*args, **kwargs)
File "C:\Users\RLC\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
File "C:\Users\RLC\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\RLC\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "D:\dell laptop E backup\mainbackup\trd\2025\check\intelligent-trading-bot\scripts\train_signals.py", line 178, in main
apply_rule_with_score_thresholds(df, score_column_names, trade_model)
File "D:\dell laptop E backup\check\intelligent-trading-bot\common\gen_signals.py", line 209, in apply_rule_with_score_thresholds
signal_column = model.get("signal_columns")[0]
TypeError: 'NoneType' object is not subscriptable
The text was updated successfully, but these errors were encountered: