WARNING:tensorflow:sample_weight modes were coerced from ... to [‘...‘]
文章目录问题原因解决问题训练代码:model.fit(graph,y,sample_weight=train_mask,batch_size=NUM,epochs=1,shuffle=False,verbose=0)出现提示:WARNING:tensorflow:sample_weightmodeswerecoercedfrom…to[’…’]原因用的是tensorflow2.1,2.2版就解决了