DeepNovo icon indicating copy to clipboard operation
DeepNovo copied to clipboard

ImportError: cannot import name rnn_cell_impl

Open hyuj57821 opened this issue 2 years ago • 0 comments

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

hyuj57821 avatar Aug 14 '21 17:08 hyuj57821