彭正皓的博客

PENG Zhenghao's blog


  • 首页 | Home

  • 分类 | Categories

  • 随笔 | Essay

  • 技术 | Tech

  • 日志 | Doc

  • 电影 | Movies

  • 关于 | About

小森林中的隐忧

发表于 2018-03-27 | 分类于 随笔
小森林这部电影,有点像散文,而不是小说。它有点像汪曾祺笔下《端午的鸭蛋》,娓娓道来众多食物的制作、食材的耕种等等琐碎而不无趣味的随想,却把主人公真正的经历和情绪,掩藏在美好的画面之下。 女主角市子,从小在小森长大,在高中的时候被母亲抛弃,独自一人生活。后来决意外出闯荡,在大城市做着最无趣和普通的工作 ...
阅读全文 »

3D Routing算法的设计

发表于 2018-03-26 | 分类于 日志
前言环境将物理位置离散为一个[x, y, nlayers]的三维空间,每个坐标点代表一个位置。 layer共有五层,第一层是pin层,只能选择向上运动。第二、四层只能允许垂直及水平方向的运动(x轴与z轴)。第三层允许垂直及前后方向的运动(x轴与z轴)。第五层只允许向下及前后方向的运动。 Notati ...
阅读全文 »

Numpy查找多维矩阵第k大值的位置(索引) | Using Numpy to find the index of the k-th maximum in a multidimensional matrix

发表于 2018-03-26 | 分类于 技术
Find the index of maximumI tried hard to find the index of maximum in a multidimensional matrix, and here is the code: 1np.unravel_index(np.argmax(MAT ...
阅读全文 »

Tensorflow导入出错 | Error occured when import tensorflow: TypeError: __init__() got an unexpected keyword argument 'file'

发表于 2018-03-19 | 分类于 技术
Error Infomation12345678/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/tensorflow/core/framework/resource_handle_pb2.py ...
阅读全文 »

标题中冒号后面的空格会引发Hexo错误 | Space after colon is not allowed appear in a post title of Hexo | YAMLException: incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line at line 1, column 44

发表于 2018-03-19 | 分类于 技术
Error Information1YAMLException: incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line at line 1, column 4 ...
阅读全文 »

3D Routing算法的代码的设计方案

发表于 2018-03-19 | 分类于 日志
目标 目前已经完成了可以运行的代码。下一步要把代码重构,以使其支持如下功能: 可以在任何时候修改reward函数。支持稀疏的以及连续的reward。 可以选择decentralized或centralized的P网络,也就是所有agent(同个net内)共用一个或者各有一个。 其他修改(比如act ...
阅读全文 »
12
彭正皓

彭正皓

16 日志
4 分类
GitHub E-Mail 豆瓣 知乎
© 2018 彭正皓
主题 — NexT.Pisces v5.1.4