junxiaosong / AlphaZero_Gomoku

An implementation of the AlphaZero algorithm for Gomoku (also called Gobang or Five in a Row)
MIT License
3.27k stars 964 forks source link

如何保存权重weight文件呢 #36

Open biasbb opened 6 years ago

biasbb commented 6 years ago

你好,请问如何把weight的参数保存为txt文件呢?

junxiaosong commented 6 years ago

你可以把模型参数提取出来,一般是numpy array的list,或者是dict,具体的方式可能需要根据你具体使用的框架对应查一下,然后你就可以随意操作这些参数啊

biasbb commented 6 years ago

嗯嗯,谢谢您。还有个问题如果我想要用tensorboard可视化显示训练结果的应该如何操作呢,因为刚开始接触这类型的东西,还不是很熟悉,麻烦您了。

junxiaosong commented 6 years ago

抱歉,我对tensorboard也不熟,可能还是需要你自己去搜索或请教其他同学哈

biasbb commented 6 years ago

嗯嗯,好的谢谢您!