Replies: 5 comments 4 replies
-
Hi, I'm on holiday so I don't have too much time to look into this now, but the error is with the tensorboard logging. Somewhere it expects a scalar for writing (look for a function |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your answer, I guess it arises from defining the
library. In this interval, I will try to fix it.
, Am Tue, 31 Aug 2021 06:09:41 -0700 schrieb Gert-Jan Both
***@***.***>:
… Hi,
I'm on holiday so I don't have too much time to look into this now, but the
error is with the tensorboard logging. Somewhere it expects a scalar for
writing (look for a function `add_scalar`), but you're giving it a vector, so
check where that's happening. Hope this helps, if not, I'll fix it in two
weeks.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#67 (comment)
|
Beta Was this translation helpful? Give feedback.
-
Hi @shamsa00 , did you manage to fix the error? If not, can you show me a minimal script required to reproduce the error? |
Beta Was this translation helpful? Give feedback.
-
Hi,
Thank you very much for your message. Yeah actually, I could fix it. The
problem was that I have changed the following code:
time_deriv = dy[:, 0:1]
in building the library but after that it works properly for multiple input
and output.
Now, I have another question, could I apply group lasso in the
regularization?
Thanks in advance
Am Wed, 15 Sep 2021 01:37:40 -0700 schrieb Gert-Jan Both
***@***.***>:
… Hi @shamsa00 , did you manage to fix the error? If not, can you show me a
minimal script required to reproduce the error?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#67 (comment)
|
Beta Was this translation helpful? Give feedback.
-
Of course I am. Thank you very much.
Am Tue, 28 Sep 2021 02:37:08 -0700 schrieb Georges Tod
***@***.***>:
… Here is the new work in case you are interested !
https://arxiv.org/abs/2109.11939
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#67 (reply in thread)
|
Beta Was this translation helpful? Give feedback.
-
Hi and thanks for developing DeePyMoD. I have defined two inputs and three features for the output. The NN was defined as NN = NN(2, [30, 30, 30, 30], 3) then I got an error for scikit-learn: 'For multi-task outputs, use MultiTaskLassoCV'. Then I defined the estimator as estimator=Threshold( threshold=0.5,estimator=MultiTaskLassoCV()) , then I got the following error, 'scalar should be 0D' (torch/utils/tensorboard/summary.py). Could you please help me with that?
By the way, I tried to modify 'ODE_Example_coupled_nonlin.ipynb' so the differential equation has three variables and I modified the constructed library as well.
Beta Was this translation helpful? Give feedback.
All reactions