zepen / predict_Lottery_ticket

双色球+大乐透彩票AI预测
764 stars 387 forks source link

load model报错 #59

Closed KittenCN closed 2 years ago

KittenCN commented 2 years ago

我尝试在train里面增加load model的代码,以期能中断后重新开始train。 代码类似run_api中的load model。 但是在sess.run()后会报错: Fetch argument <tf.Operation 'Adam' type=NoOp> cannot be interpreted as a Tensor.

Tensorflow写的不多,求解惑

fei15115 commented 2 years ago

您好,我已经收到您的邮件,我会尽快查看回复,谢谢!

zepen commented 2 years ago

调整下tensorflow版本试试,最好按照requirements.txt文件中的库进行安装