Warning: Polygon.uniform_points not implemented. Use random_points instead.
Compiling model...
Building feed-forward neural network...
'build' took 0.078086 s
ValueError Traceback (most recent call last)
in
156
157 model = Model(data, net)
--> 158 model.compile("adam", lr=0.001)
159
160 early_stopping = EarlyStopping(min_delta=1e-8, patience=40000)
~\anaconda3\envs\tf\lib\site-packages\deepxde\utils.py in wrapper(*args, **kwargs)
50 def wrapper(*args, **kwargs):
51 ts = time.time()
---> 52 result = f(*args, **kwargs)
53 te = time.time()
54 print("%r took %f s\n" % (f.__name__, te - ts))
~\anaconda3\envs\tf\lib\site-packages\deepxde\model.py in compile(self, optimizer, lr, loss, metrics, decay, loss_weights)
85
86 loss = losses_module.get(loss)
---> 87 self.losses = self.data.losses(self.net.targets, self.net.outputs, loss, self)
88 if not isinstance(self.losses, list):
89 self.losses = [self.losses]
~\anaconda3\envs\tf\lib\site-packages\deepxde\data\pde.py in losses(self, targets, outputs, loss, model)
94 elif get_num_args(self.pde) == 3:
95 if self.auxiliary_var_fn is None:
---> 96 raise ValueError("Auxiliary variable function not defined.")
97 f = self.pde(model.net.inputs, outputs, model.net.auxiliary_vars)
98 if not isinstance(f, (list, tuple)):
ValueError: Auxiliary variable function not defined.
I am using deepxde 0.10.0 in anaconda. The code that I am trying to run is as follows. I would be very grateful if someone can point me to the solution. It seems strange as it seemed to be working for the person who posted it originally.
Hi,
I am trying to run a code I found in one of the solved issues on deepxde github posted by @inunarun, Originally posted by @inunarun in https://github.com/lululxvi/deepxde/issues/80#issuecomment-667729836 but I get an error as mentioned below:
I am using deepxde 0.10.0 in anaconda. The code that I am trying to run is as follows. I would be very grateful if someone can point me to the solution. It seems strange as it seemed to be working for the person who posted it originally.