Schwittleymani / ECO

Electronic Chaos Oracle
https://schwittlick.net/eco
Apache License 2.0
6 stars 1 forks source link

WTF #124

Closed schwittlick closed 8 years ago

schwittlick commented 8 years ago
Loading from /home/marcel/projects/eco/src/python/word_level_rnn/saved/roy_ascott-art_technology_consciousness
WARNING:tensorflow:<tensorflow.python.ops.rnn_cell.BasicLSTMCell object at 0x7f92483d5090>: Using a concatenated state is slower and will soon be deprecated.  Use state_is_tuple=True.
Traceback (most recent call last):
  File "run.py", line 197, in <module>
    main = Main(params=params)
  File "run.py", line 148, in __init__
    self.generator.init_word_level_lstm(models_path=word_lstm_models_path)
  File "run.py", line 72, in init_word_level_lstm
    word_lstm = word_level_rnn.word_lstm_wrapper.WordLevelLSTM(load_dir=path)
  File "/home/marcel/projects/eco/src/python/word_level_rnn/word_lstm_wrapper.py", line 16, in __init__
    self.model = Model(saved_args, True)
  File "/home/marcel/projects/eco/src/python/word_level_rnn/model.py", line 33, in __init__
    softmax_w = tf.get_variable("softmax_w", [args.rnn_size, args.vocab_size])
  File "/mnt/drive1/virtualenvs/eco_tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/variable_scope.py", line 830, in get_variable
    custom_getter=custom_getter)
  File "/mnt/drive1/virtualenvs/eco_tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/variable_scope.py", line 673, in get_variable
    custom_getter=custom_getter)
  File "/mnt/drive1/virtualenvs/eco_tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/variable_scope.py", line 217, in get_variable
    validate_shape=validate_shape)
  File "/mnt/drive1/virtualenvs/eco_tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/variable_scope.py", line 202, in _true_getter
    caching_device=caching_device, validate_shape=validate_shape)
  File "/mnt/drive1/virtualenvs/eco_tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/variable_scope.py", line 494, in _get_single_variable
    name, "".join(traceback.format_list(tb))))
ValueError: Variable rnnlm/softmax_w already exists, disallowed. Did you mean to set reuse=True in VarScope? Originally defined at:

  File "/home/marcel/projects/eco/src/python/word_level_rnn/model.py", line 33, in __init__
    softmax_w = tf.get_variable("softmax_w", [args.rnn_size, args.vocab_size])
  File "/home/marcel/projects/eco/src/python/word_level_rnn/word_lstm_wrapper.py", line 16, in __init__
    self.model = Model(saved_args, True)
  File "run.py", line 72, in init_word_level_lstm
    word_lstm = word_level_rnn.word_lstm_wrapper.WordLevelLSTM(load_dir=path)