ZhengDanYang1

Results 2 issues of ZhengDanYang1

在运行rnncapsule时出现了以下报错。 --------------------------------------------------------------------------- ValueError Traceback (most recent call last) in ----> 1 model = Gru_Capsule_Model(word_seq_len, word_embedding,classification) in Gru_Capsule_Model(sent_length, embeddings_weight, class_num) 25 embed = SpatialDropout1D(0.2)(embedding(content)) 26 x = Bidirectional(CuDNNGRU(200, return_sequences=True))(embed) ---> 27...

报错如下: --------------------------------------------------------------------------- InvalidArgumentError Traceback (most recent call last) ~/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py in _do_call(self, fn, *args) 1333 try: -> 1334 return fn(*args) 1335 except errors.OpError as e: ~/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py in _run_fn(feed_dict, fetch_list, target_list, options,...