Skip to content

Commit

Permalink
removing unused garbage collection
Browse files Browse the repository at this point in the history
  • Loading branch information
lechatpito committed Oct 15, 2014
1 parent bab444b commit 15f8e4d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions clean-word2vec-text-format.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import codecs
import os
import gc
import shutil

SOURCE = 'glove.840B.300d.txt'
Expand Down Expand Up @@ -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.")

0 comments on commit 15f8e4d

Please sign in to comment.