You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the python evaluate.py --name apnet_wpdc --model APModel command in Attribute Prediction part, I got the error as follows:
Model APModel was created
0%|| 0/199 [00:00<?, ?it/s]
Traceback (most recent call last):
File "evaluate.py", line 192, in<module>model.test_shape()
File "evaluate.py", line 159, in test_shape
latent_pred, params_source, params_pred = self._model.forward_test(latent, pca_id, pca_val)
TypeError: forward_test() takes 2 positional arguments but 4 were given
And when I check the code, I found the function of forward_test in APModel class exactly accept only one latent argument, however, the above function need three arguments.
I don't know how to fix this error.
The text was updated successfully, but these errors were encountered:
Hi, firstly thank you for sharing this work.
When I run the
python evaluate.py --name apnet_wpdc --model APModel
command in Attribute Prediction part, I got the error as follows:And when I check the code, I found the function of
forward_test
in APModel class exactly accept only onelatent
argument, however, the above function need three arguments.I don't know how to fix this error.
The text was updated successfully, but these errors were encountered: