The glove.6B.zip does not have this file. How do I obtain it?
No checkpoint to reload. Initializing fresh.
Traceback (most recent call last):
File "textmorph/edit_model/main.py", line 32, in
exp = experiments.new(config) # new experiment from config
File "/code/gtd/ml/training_run.py", line 144, in new
run = self._run_factory(config, save_dir)
File "/code/textmorph/edit_model/training_run.py", line 255, in init
self._train_state = self._initialize_train_state(config)
File "/code/textmorph/edit_model/training_run.py", line 322, in _initialize_train_state
editor = cls._build_editor(config.editor)
File "/code/textmorph/edit_model/training_run.py", line 297, in _build_editor
word_embeddings = SimpleEmbeddings.from_file(file_path, config.word_dim, vocab_size=config.vocab_size)
File "/code/gtd/ml/vocab.py", line 184, in from_file
with codecs.open(file_path, 'r', encoding='utf-8') as f:
File "/opt/conda/envs/pytorch-py27/lib/python2.7/codecs.py", line 896, in open
file = builtin.open(filename, mode, buffering)
IOError: [Errno 2] No such file or directory: '/data/word_vectors/glove.6B.300d_onebil.txt'
I followed the instructions in https://github.com/kelvinguu/neural-editor/tree/readme. But I get the following error when executing:
The glove.6B.zip does not have this file. How do I obtain it?
No checkpoint to reload. Initializing fresh. Traceback (most recent call last): File "textmorph/edit_model/main.py", line 32, in
exp = experiments.new(config) # new experiment from config
File "/code/gtd/ml/training_run.py", line 144, in new
run = self._run_factory(config, save_dir)
File "/code/textmorph/edit_model/training_run.py", line 255, in init
self._train_state = self._initialize_train_state(config)
File "/code/textmorph/edit_model/training_run.py", line 322, in _initialize_train_state
editor = cls._build_editor(config.editor)
File "/code/textmorph/edit_model/training_run.py", line 297, in _build_editor
word_embeddings = SimpleEmbeddings.from_file(file_path, config.word_dim, vocab_size=config.vocab_size)
File "/code/gtd/ml/vocab.py", line 184, in from_file
with codecs.open(file_path, 'r', encoding='utf-8') as f:
File "/opt/conda/envs/pytorch-py27/lib/python2.7/codecs.py", line 896, in open
file = builtin.open(filename, mode, buffering)
IOError: [Errno 2] No such file or directory: '/data/word_vectors/glove.6B.300d_onebil.txt'