Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name rnn_cell_impl #11

Open
hyuj57821 opened this issue Aug 14, 2021 · 0 comments
Open

ImportError: cannot import name rnn_cell_impl #11

hyuj57821 opened this issue Aug 14, 2021 · 0 comments

Comments

@hyuj57821
Copy link

Hi @nh2tran,

I'm trying to run Deepnovo for my sample, and I got the following error.
I've got the same error when I tried Step 1.

python deepnovo_main.py --train_dir train.example --train
vocab_reverse ['_PAD', '_GO', '_EOS', 'A', 'R', 'N', 'Nmod', 'D', 'Cmod', 'E', 'Q', 'Qmod', 'G', 'H', 'I', 'L', 'K', 'M', 'Mmod', 'F', 'P', 'S', 'T', 'W', 'Y', 'V']
vocab {'_GO': 1, '_EOS': 2, '_PAD': 0, 'Mmod': 18, 'A': 3, 'E': 9, 'D': 7, 'G': 12, 'F': 19, 'I': 14, 'H': 13, 'K': 16, 'M': 17, 'L': 15, 'Nmod': 6, 'N': 5, 'Q': 10, 'P': 20, 'S': 21, 'R': 4, 'T': 22, 'W': 23, 'V': 25, 'Y': 24, 'Cmod': 8, 'Qmod': 11}
vocab_size 26
SPECTRUM_RESOLUTION 10
WINDOW_SIZE 10
MAX_LEN 30
_buckets [12, 22, 32]
num_ion 8
l2_loss_weight 0.0
embedding_size 512
num_layers 1
num_units 512
keep_conv 0.75
keep_dense 0.5
batch_size 128
epoch_stop 20
train_stack_size 4500
valid_stack_size 15000
test_stack_size 4000
buffer_size 4000
steps_per_checkpoint 100
random_test_batches 10
max_gradient_norm 5.0
Traceback (most recent call last):
File "deepnovo_main.py", line 15, in
import deepnovo_model
File "/Data2/HJE/DeepNovo/deepnovo_model.py", line 43, in
from tensorflow.python.ops import rnn_cell_impl
ImportError: cannot import name rnn_cell_impl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant