Replies: 1 comment
-
You can try to install newest version of PaddleScience as below: pip uninstall paddlesci -y
cd PaddleScience
# install paddlesci with editable mode
pip install -e . |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My ppsci version is "1.1.0".
When I try running demo "BubbleNet", I get the following traceback:
[2023/09/25 10:11:32] ppsci INFO: Using paddlepaddle 2.5.1 on device Place(gpu:0) [2023/09/25 10:11:32] ppsci INFO: Set to_static=False for forward computation. Traceback (most recent call last): File "~\Bubble\Bubble.py", line 206, in <module> solver.train() File "~\ppsci\solver\solver.py", line 399, in train self.train_epoch_func(self, epoch_id, self.log_freq) File "~\ppsci\solver\train.py", line 73, in train_epoch_func constraint_losses = solver.forward_helper.train_forward( File "~\paddle\jit\dy2static\program_translator.py", line 459, in __call__ return self._call_dygraph_function(*args, **kwargs) File "~\paddle\jit\dy2static\program_translator.py", line 529, in _call_dygraph_function return self.dygraph_function(*args, **kwargs) File "~\ppsci\utils\expression.py", line 78, in train_forward output_dict = model(input_dicts[i]) File "~\paddle\nn\layer\layers.py", line 1254, in __call__ return self.forward(*inputs, **kwargs) File "~\ppsci\arch\model_list.py", line 54, in forward y = model(x) File "~\paddle\nn\layer\layers.py", line 1254, in __call__ return self.forward(*inputs, **kwargs) File "~\ppsci\arch\mlp.py", line 151, in forward y = self._output_transform(y) TypeError: transform_out() missing 1 required positional argument: 'out'
Does any one has an idea to fix it?
Beta Was this translation helpful? Give feedback.
All reactions