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
The dimension is incorrect with HybridTupleEmbedding using CTT model.
I think it's because HybridTupleEmbedding use autoencoder_embedding_model for tuple embedding, and in line 171 of tuple_embedding_models.py, the embedding_matric is having hidden_dimensions (by default, 150). But trainer defined in line 311 is still setting the CTTmodel input as input_dimension (by default, 300).
To fix it, I change line 311 in tuple_embedding_models.py from trainer = dl_models.CTTModelTrainer (self.input_dimension, self.hidden_dimensions)
to trainer = dl_models.CTTModelTrainer (self.hidden_dimensions[-1], self.hidden_dimensions)
it will work, but might not produce the optimal network structure. Let me know if I get anything wrong.
The text was updated successfully, but these errors were encountered:
The dimension is incorrect with HybridTupleEmbedding using CTT model.
I think it's because
HybridTupleEmbedding
useautoencoder_embedding_model
for tuple embedding, and in line 171 oftuple_embedding_models.py
, theembedding_matric
is havinghidden_dimensions
(by default, 150). Buttrainer
defined in line 311 is still setting theCTTmodel
input asinput_dimension
(by default, 300).data is downloaded from https://pages.cs.wisc.edu/~anhai/data1/deepmatcher_data/Textual/Abt-Buy/exp_data/. use below code to reproduce the error:
error:
To fix it, I change line 311 in
tuple_embedding_models.py
fromtrainer = dl_models.CTTModelTrainer (self.input_dimension, self.hidden_dimensions)
to
trainer = dl_models.CTTModelTrainer (self.hidden_dimensions[-1], self.hidden_dimensions)
it will work, but might not produce the optimal network structure. Let me know if I get anything wrong.
The text was updated successfully, but these errors were encountered: