FC-Li / CloudSimPy

CloudSimPy: Datacenter job scheduling simulation framework
MIT License
222 stars 76 forks source link

如何把变长的数据转化为定长的神经网络输入? #6

Open HaodaY opened 4 years ago

HaodaY commented 4 years ago

论文中提到神经网络的输入是variable length的<机器,任务> pair,但是神经网络的输入是定长的,请问是如何把变长的pair列表转化成定长的神经网络输入的?

silkyrose commented 4 years ago

代码创建brain的地方输入了sates为6,创建agent的地方建了一个和action有关的文件,但这个.ckpt文件在agents路径下找不到,其他地方都没有处理action和state。真的很难理解这代码。

silkyrose commented 4 years ago

不知道妹纸有没有弄懂这一块?

HaodaY commented 4 years ago

要调用agent的save方法时才会生成ckpt文件。

p.s. 我是男的。。。。

silkyrose commented 4 years ago

刚起步小白一枚,楼主能否给个邮箱? 谢谢!


Best Regards!王瑾M: +86 13805156041 E: sophie_icon@sina.com

----- 原始邮件 ----- 发件人:HaodaY notifications@github.com 收件人:RobertLexis/CloudSimPy CloudSimPy@noreply.github.com 抄送人:silkyrose sophie_icon@sina.com, Comment comment@noreply.github.com 主题:Re:_[RobertLexis/CloudSimPy]如何把变长的数据转化为定长的神经网络输入?(#6) 日期:2020年03月02日 23点27分

要调用agent的save方法时才会生成ckpt文件。

p.s. 我是男的。。。。

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.