How-to-build-own-text-summarizer-using-deep-learning icon indicating copy to clipboard operation
How-to-build-own-text-summarizer-using-deep-learning copied to clipboard

Expected Operation, Variable, or Tensor, got 1

Open violeta-goranova opened this issue 5 years ago • 2 comments

Hello, @aravindpai and all, I am facing issue with history=model.fit([x_tr,y_tr[:,:-1]], y_tr.reshape(y_tr.shape[0],y_tr.shape[1], 1)[:,1:] ,epochs=50,callbacks=[es],batch_size=512, validation_data=([x_val,y_val[:,:-1]], y_val.reshape(y_val.shape[0],y_val.shape[1], 1)[:,1:])) TypeError: Expected Operation, Variable, or Tensor, got 1. Can somebody help me, I don't understand how to fix it. Thanks in advance.

violeta-goranova avatar Jan 12 '20 16:01 violeta-goranova

i am also facing this issue, if you found the solution could you please help

VinayNitmz avatar May 14 '20 11:05 VinayNitmz

+1

HelloWorldlry avatar Jul 27 '20 01:07 HelloWorldlry