xiaoyeye / GCNG

using graph convolutional neural network and spaital transcriptomics data to infer cell-cell interactions
56 stars 16 forks source link

Training the model #7

Open sheenahora opened 3 years ago

sheenahora commented 3 years ago

Hello,

When I ran the sample code with the old version of spektral as "spektral"github suggests, I am experiencing below error:

ValueError: Layer model expects 2 input(s), but it received 1 input tensors.

File "gcn_LR2_LR_as_nega_big.py", in history = model.fit(X_train,y_train,batch_size=batch_size,validation_data=validation_data,epochs=epochs,callbacks=callbacks)

xWanga98 commented 2 years ago

Hello,

When I ran the sample code with the old version of spektral as "spektral"github suggests, I am experiencing below error:

ValueError: Layer model expects 2 input(s), but it received 1 input tensors.

File "gcn_LR2_LR_as_nega_big.py", in history = model.fit(X_train,y_train,batch_size=batch_size,validation_data=validation_data,epochs=epochs,callbacks=callbacks)

Hello,I have the same error,have you solved it?

jingeyu commented 2 years ago

Hello,

When I ran the sample code with the old version of spektral as "spektral"github suggests, I am experiencing below error:

ValueError: Layer model expects 2 input(s), but it received 1 input tensors.

File "gcn_LR2_LR_as_nega_big.py", in history = model.fit(X_train,y_train,batch_size=batch_size,validation_data=validation_data,epochs=epochs,callbacks=callbacks)

Hello,I have the same error,have you solved it?