Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConvE has no attribute tensorboard_logs_path #264

Open
ramesesz opened this issue Jun 17, 2022 · 0 comments
Open

ConvE has no attribute tensorboard_logs_path #264

ramesesz opened this issue Jun 17, 2022 · 0 comments
Assignees

Comments

@ramesesz
Copy link

When training ConvE with early stopping, the following error gets thrown:

Traceback (most recent call last):
File "ConvE(1-n)_fb15k.py", line 47, in
early_stopping_params=early_stopping_params
File "/home/ramab/anaconda3/envs/ampligraph/lib/python3.7/site-packages/ampligraph/latent_features/models/ConvE.py", line 753, in fit
raise e
File "/home/ramab/anaconda3/envs/ampligraph/lib/python3.7/site-packages/ampligraph/latent_features/models/ConvE.py", line 744, in fit
if self._perform_early_stopping_test(epoch):
File "/home/ramab/anaconda3/envs/ampligraph/lib/python3.7/site-packages/ampligraph/latent_features/models/EmbeddingModel.py", line 832, in _perform_early_stopping_test
if self.tensorboard_logs_path is not None:
AttributeError: 'ConvE' object has no attribute 'tensorboard_logs_path'

The attribute seems to be missing from ConvE, not allowing it to be trained with early stopping regardless of parameter choice.

@sumitpai sumitpai self-assigned this Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants