Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/TharinduDR/TransQuest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTharinduDR <rhtdranasinghe@gmail.com>2021-04-23 00:41:21 +0300
committerTharinduDR <rhtdranasinghe@gmail.com>2021-04-23 00:41:21 +0300
commit6d7f101d962980238d19a32b7219636526e45e1f (patch)
tree31783debe1b1cac71de1b073fee8c96b039bdf0b
parent7448f5ee6e3441f2f4abed7ff40d4a333bf8635d (diff)
057: Code Refactoring - Siamese Architectures
-rw-r--r--transquest/algo/sentence_level/siamesetransquest/models/Pooling.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/transquest/algo/sentence_level/siamesetransquest/models/Pooling.py b/transquest/algo/sentence_level/siamesetransquest/models/Pooling.py
index 956048b..efafce4 100644
--- a/transquest/algo/sentence_level/siamesetransquest/models/Pooling.py
+++ b/transquest/algo/sentence_level/siamesetransquest/models/Pooling.py
@@ -80,7 +80,7 @@ class Pooling(nn.Module):
return {key: self.__dict__[key] for key in self.config_keys}
def save(self, output_path):
- with open(os.path.join(output_path, 'config.json'), 'w') as fOut:
+ with open(os.path.join(output_path, 'pooling_config.json'), 'w') as fOut:
json.dump(self.get_config_dict(), fOut, indent=2)
@staticmethod