Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自定义人流模式问题 #66

Open
Ricardoliyan opened this issue Nov 3, 2022 · 5 comments
Open

自定义人流模式问题 #66

Ricardoliyan opened this issue Nov 3, 2022 · 5 comments

Comments

@Ricardoliyan
Copy link

Ricardoliyan commented Nov 3, 2022

mansion_flow.npy文件中准备了一天的人流分布数据,请问人流分布在时间考虑上是按泊松分布嘛?如果我只想训练一天中午两小时的人流数据有办法吗

@WorldEditors
Copy link
Collaborator

根据记录的人流来采样的逻辑见:
https://github.com/PaddlePaddle/MetaGym/blob/master/metagym/liftsim/environment/mansion/person_generators/custom_generator.py
你可以直接修改里面逻辑,取出特定两个小时的记录,不断重复这两个小时。

@Ricardoliyan
Copy link
Author

好的,谢谢啦

@Ricardoliyan
Copy link
Author

根据记录的人流来采样的逻辑见: https://github.com/PaddlePaddle/MetaGym/blob/master/metagym/liftsim/environment/mansion/person_generators/custom_generator.py 你可以直接修改里面逻辑,取出特定两个小时的记录,不断重复这两个小时。

请问您有用算法运行过这个电梯调度环境吗?可以给我参考参考吗

@WorldEditors
Copy link
Collaborator

感谢您的兴趣。这里有一个示例可以参考
https://aistudio.baidu.com/aistudio/projectdetail/100632
但是,MetaGym已经经历过数次升级,这份代码从来没有维护过,算法里面一些接口需要重新修改。

@WorldEditors
Copy link
Collaborator

另外,目前LiftSim的接口确实相对较为复杂,我们在未来计划会对LiftSim再进行一些升级,以使得大众的机器学习研究者可以简单方便调用接口,只是时间还不确定

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants