Skip to content

Some issues with pre-trained model #6

@yaylinda

Description

@yaylinda

So I downloaded the model from your google drive file, and ran the command from the README, however, I am getting errors saying several keys are not found in the checkpoint file. Any ideas?

SAMPLING MODE...
loading data...
building model...
	using alphabet abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
2017-11-06 15:22:18.599963: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
2017-11-06 15:22:18.599998: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
2017-11-06 15:22:18.600003: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
2017-11-06 15:22:18.600007: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
attempt to load saved model...
2017-11-06 15:22:19.147508: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key cell0/lstm_cell/bias/RMSProp_1 not found in checkpoint
2017-11-06 15:22:19.147508: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key cell0/lstm_cell/kernel not found in checkpoint
2017-11-06 15:22:19.147531: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key cell0/lstm_cell/bias/RMSProp not found in checkpoint
2017-11-06 15:22:19.147531: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key cell0/lstm_cell/bias not found in checkpoint
2017-11-06 15:22:19.148667: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key cell0/lstm_cell/kernel/RMSProp not found in checkpoint
2017-11-06 15:22:19.148974: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key cell0/lstm_cell/kernel/RMSProp_1 not found in checkpoint
2017-11-06 15:22:19.149021: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key cell1/lstm_cell/bias/RMSProp_1 not found in checkpoint
2017-11-06 15:22:19.149158: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key cell1/lstm_cell/kernel not found in checkpoint
2017-11-06 15:22:19.149188: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key cell1/lstm_cell/bias not found in checkpoint
2017-11-06 15:22:19.149322: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key cell1/lstm_cell/kernel/RMSProp not found in checkpoint
2017-11-06 15:22:19.149756: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key cell1/lstm_cell/kernel/RMSProp_1 not found in checkpoint
2017-11-06 15:22:19.150055: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key cell2/lstm_cell/bias not found in checkpoint
2017-11-06 15:22:19.150250: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key cell2/lstm_cell/kernel/RMSProp not found in checkpoint
2017-11-06 15:22:19.150263: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key cell2/lstm_cell/bias/RMSProp_1 not found in checkpoint
2017-11-06 15:22:19.150283: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key cell2/lstm_cell/bias/RMSProp not found in checkpoint
2017-11-06 15:22:19.150464: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key cell1/lstm_cell/bias/RMSProp not found in checkpoint
2017-11-06 15:22:19.150513: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key cell2/lstm_cell/kernel not found in checkpoint
2017-11-06 15:22:19.150638: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Key cell2/lstm_cell/kernel/RMSProp_1 not found in checkpoint
no saved model to load. starting new session
load failed, sampling canceled
^CTraceback (most recent call last):
  File "run.py", line 152, in <module>
    main()
  File "run.py", line 56, in main
    train_model(args) if args.train else sample_model(args)
  File "run.py", line 148, in sample_model
    time.sleep(args.sleep_time)
KeyboardInterrupt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions