(1)为什么同样的代码在两个不同机子上报不同的错,一个属性错误,明明初始化的时候就已经把模型加载了,进程名称换了重新提交之后又没有报错了,玄学…
(2)另一台机器为毛三个进程永远只跑第一个,是因为内存太小的原因吗,只有3G,反正这两种方式都不行;同样的代码以前也没问题,还是GPU跑的;
for t in processes:
t.start()
t.join()
for t in processes:
t.start()
for t in processes:
t.join()
(3)Keras保存模型和加载模型两种方式都会有警告,保存模型或者只保存权重,官方文档都这么写,没什么用啊;
UserWarning: Layer lstm_1 was passed non-serializable keyword arguments: {'initial_state': [<tf.Tensor 'input_4:0' shape=(?, 32) dtype=float32>, <tf.Tensor 'input_5:0' shape=(?, 32) dtype=float32>], 'mask': [None, None, None]}. They will not be included in the serialized model (and thus will be missing at deserialization time). '. They will not be included '
(4)明天要改的:GAT是否有必要添加同时考虑周围intersection的状态,打乱训练数据,temporal data的时间,是否有必要做分布式的(每个intersection一个agent)?相连的intersection怎么交互?
参考链接:
https://www.pythonheidong.com/blog/article/733510/06e68d21ae05246852be/
http://www.cocoachina.com/articles/85722
https://ask.csdn.net/questions/1071281