Closed tourniert closed 1 year ago
Hello,
I was not able to recreate the error, the code you provided worked fine on my devices.
Therefore, I can only speculate where the error comes from. Maybe you are using different versions of Keras, Tensorflow or R. As far as I understand the error, there seems to be an issue in the evaluation of the loss function concerning the compatibility of the variables. The 'axis'-argument is part of the 'k_cumsum'-function within the loss-function, so maybe it does not fit to the 'y_pred'-variable anymore (in another version of keras/tensorflow or R).
I hope that helps.
Thank you for your reply. Could you give me the version of R
, Python
, TensorFlow
and Keras
you are using on your devices please ?
I am using the following versions: R (version 3.6.1), Keras (v2.4.3; R-package version 2.3.0.0), TensorFlow (v2.3.0; R-package version 2.2.0), based on Python (v3.6). The implementation of DRN makes use of the tf-probability extension (0.11.1).
With the right versions of the packages, it works perfectly! Thanks very much !
Hello Mr Schulz, I read your article and I want to test the scripts you have developed, they work perfectly for the Histogram Estimation Network method, the Distributional Regression Network method, thank you for this work. However I get an error for the Bernstein Quantile Network method.
I run
pp_bqn.R
with this script (which is almost same aspp_drn.R
) :Nevertheless I obtain the following error :
Did you have an idea to fix this problem ?