This looks so amazing. I have gotten it to run with the test data but something seems to be missing that I can't figure out. If it's not a huge pain, Is it possible to walk me through how to use this on the SPY ETF?
Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 22069 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 3090, pci bus id: 0000:01:00.0, compute capability: 8.6)
Epoch 1/1000
2021-09-12 13:34:29.486149: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cublas64_100.dll
2021-09-12 13:35:53.619664: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudnn64_7.dll
2021-09-12 13:52:40.007267: W tensorflow/core/framework/op_kernel.cc:1651] OP_REQUIRES failed at cudnn_rnn_ops.cc:1500 : Internal: No algorithm worked!
Traceback (most recent call last):
File "NextDay-240,1-LSTM.py", line 197, in
predictions = trainer(train_data,test_data,model_type)
File "NextDay-240,1-LSTM.py", line 94, in trainer
batch_size=512
File "C:\Users\George\anaconda3\envs\predict\lib\site-packages\tensorflow_core\python\keras\engine\training.py", line 727, in fit
use_multiprocessing=use_multiprocessing)
File "C:\Users\George\anaconda3\envs\predict\lib\site-packages\tensorflow_core\python\keras\engine\training_arrays.py", line 675, in fit
steps_name='steps_per_epoch')
File "C:\Users\George\anaconda3\envs\predict\lib\site-packages\tensorflow_core\python\keras\engine\training_arrays.py", line 394, in model_iteration
batch_outs = f(ins_batch)
File "C:\Users\George\anaconda3\envs\predict\lib\site-packages\tensorflow_core\python\keras\backend.py", line 3476, in call
run_metadata=self.run_metadata)
File "C:\Users\George\anaconda3\envs\predict\lib\site-packages\tensorflow_core\python\client\session.py", line 1472, in call
run_metadata_ptr)
tensorflow.python.framework.errors_impl.InternalError: 2 root error(s) found.
(0) Internal: No algorithm worked!
[[{{node cu_dnnlstm/CudnnRNNV2}}]]
[[loss/mul/_61]]
(1) Internal: No algorithm worked!
[[{{node cu_dnnlstm/CudnnRNNV2}}]]
0 successful operations.
0 derived errors ignored.
This looks so amazing. I have gotten it to run with the test data but something seems to be missing that I can't figure out. If it's not a huge pain, Is it possible to walk me through how to use this on the SPY ETF?
Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 22069 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 3090, pci bus id: 0000:01:00.0, compute capability: 8.6)
Epoch 1/1000
2021-09-12 13:34:29.486149: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cublas64_100.dll
2021-09-12 13:35:53.619664: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudnn64_7.dll
2021-09-12 13:52:40.007267: W tensorflow/core/framework/op_kernel.cc:1651] OP_REQUIRES failed at cudnn_rnn_ops.cc:1500 : Internal: No algorithm worked!
Traceback (most recent call last):
File "NextDay-240,1-LSTM.py", line 197, in
predictions = trainer(train_data,test_data,model_type)
File "NextDay-240,1-LSTM.py", line 94, in trainer
batch_size=512
File "C:\Users\George\anaconda3\envs\predict\lib\site-packages\tensorflow_core\python\keras\engine\training.py", line 727, in fit
use_multiprocessing=use_multiprocessing)
File "C:\Users\George\anaconda3\envs\predict\lib\site-packages\tensorflow_core\python\keras\engine\training_arrays.py", line 675, in fit
steps_name='steps_per_epoch')
File "C:\Users\George\anaconda3\envs\predict\lib\site-packages\tensorflow_core\python\keras\engine\training_arrays.py", line 394, in model_iteration
batch_outs = f(ins_batch)
File "C:\Users\George\anaconda3\envs\predict\lib\site-packages\tensorflow_core\python\keras\backend.py", line 3476, in call
run_metadata=self.run_metadata)
File "C:\Users\George\anaconda3\envs\predict\lib\site-packages\tensorflow_core\python\client\session.py", line 1472, in call
run_metadata_ptr)
tensorflow.python.framework.errors_impl.InternalError: 2 root error(s) found.
(0) Internal: No algorithm worked!
[[{{node cu_dnnlstm/CudnnRNNV2}}]]
[[loss/mul/_61]]
(1) Internal: No algorithm worked!
[[{{node cu_dnnlstm/CudnnRNNV2}}]]
0 successful operations.
0 derived errors ignored.