From 15f8e4d843797d170332d564ea382a5da23242ce Mon Sep 17 00:00:00 2001 From: lechatpito Date: Wed, 15 Oct 2014 18:32:24 -0400 Subject: [PATCH] removing unused garbage collection --- clean-word2vec-text-format.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/clean-word2vec-text-format.py b/clean-word2vec-text-format.py index 0062c6c..c85ea1d 100644 --- a/clean-word2vec-text-format.py +++ b/clean-word2vec-text-format.py @@ -2,7 +2,6 @@ import codecs import os -import gc import shutil SOURCE = 'glove.840B.300d.txt' @@ -96,7 +95,5 @@ def read_utf8_char_and_decode(source): tmp.close() target.close() os.remove(TMP) -len(gc.get_objects()) -gc.collect() print("Done.")