Skip to content

Commit 37d7f67

Browse files
authored
Fix WordEmbedding import
Fixed wrong WordEmbedding import, likely a remnant of legacy code
1 parent 1dd4a3c commit 37d7f67

File tree

1 file changed

+1
-1
lines changed
  • examples/pytorch/summarization/cnn

1 file changed

+1
-1
lines changed

examples/pytorch/summarization/cnn/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from graph4nlp.pytorch.models.graph2seq_loss import Graph2SeqLoss
1515
from graph4nlp.pytorch.modules.config import get_basic_args
1616
from graph4nlp.pytorch.modules.evaluation.rouge import ROUGE
17-
from graph4nlp.pytorch.modules.graph_construction.embedding_construction import WordEmbedding
17+
from graph4nlp.pytorch.modules.graph_embedding_initialization.embedding_construction import WordEmbedding
1818
from graph4nlp.pytorch.modules.utils import constants as Constants
1919
from graph4nlp.pytorch.modules.utils.config_utils import get_yaml_config, update_values
2020
from graph4nlp.pytorch.modules.utils.copy_utils import prepare_ext_vocab

0 commit comments

Comments
 (0)