Closed username2292 closed 2 years ago
2021-04-18 18:57:30.767632: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:116] None of the MLIR optimization passes are enabled (registered 2)
This isn't an error but more like a warning. For this one I recommend reading this post from Stack Overflow.
The true error is this one:
Error in py_call_impl(callable, dots$args, dots$keywords) : ValueError: in user code: /Users/my_user/Library/r-miniconda/envs/r-reticulate/lib/python3.6/site-packages/tensorflow/python/keras/engine/training.py:805 train_function * return step_function(self, iterator) /Users/my_user/Library/r-miniconda/envs/r-reticulate/lib/python3.6/site-packages/tensorflow/python/keras/engine/training.py:795 step_function ** outputs = model.distribute_strategy.run(run_step, args=(data,)) /Users/my_user/Library/r-miniconda/envs/r-reticulate/lib/python3.6/site-packages/tensorflow/python/distribute/distribute_lib.py:1259 run return self._extended.call_for_each_replica(fn, args=args, kwargs=kwargs) /Users/my_user/Library/r-miniconda/envs/r-reticulate/lib/python3.6/site-packages/tensorflow/python/distribute/distribute_lib.py:2730 call_for_each_replica return self._call_for_each_replica(fn, args, kwargs) /Users/my_user/Library/r-mini
I don't really know if the problem is how the model is built.
I have the same error (Error in py_call_impl(callable, dots$args, dots$keywords) : ValueError: in user code:
), I don't know what it is either...
I am trying to use a LSTM to predict a univariate time series. The idea is to use 24 months to predict the next 12 months. I am getting an error that I cannot fix. I saw some errors like that on Google and I tried to fix it with
devtools::install_github("rstudio/keras")
without successHere is my code:
When I try to run the chunck of code bellow I get the following error
The code is not executed and this error is thrown
I uploaded my data to make it reproducible. Although the error happens before the test data is used I uploaded it for the sake of completeness. kt_train_male.csv kt_test_male.csv