Robyn icon indicating copy to clipboard operation
Robyn copied to clipboard

Error in robyn_recreate() with a model pre-trained

Open caarolinagil opened this issue 1 year ago • 2 comments

Describe issue

Error in robyn_recreate() when a variable has size 0 in hyperparameters. Analyzing Analyzing the json_file of my model, I see that in ExportedModel > hyper_values > users_mail_scales: 0.

But I don't understand the error since, when defining the hyperparameters for Weibull PDF, in scales it is allowed to put a range (0, 0.1).

"Error in { : task 1 failed - "Can't recycle 'channel_1' (size 266) to match 'channel_2' (size 0)."

Environment & Robyn version

Make sure you're using the latest Robyn version before you post an issue.

  • Check and share Robyn version: 3.10.3
  • R version: 4.2.2

caarolinagil avatar Feb 07 '24 14:02 caarolinagil

sorry for the late reply. does the problem still persists? It's due to diff vector lengths, see this. You provided the same dataset for recreate?

gufengzhou avatar Feb 28 '24 06:02 gufengzhou

Yes, I'm providing the same dataset for the model I'm trying to recreate.

It is due to diff vector lengths but it comes directly from the json so I don't know how to solve it.

caarolinagil avatar Feb 28 '24 09:02 caarolinagil