Skip to content
This repository has been archived by the owner on Jan 16, 2018. It is now read-only.

自动计算的跳跃系数导致各种跳不准 #61

Open
roceys opened this issue Jan 2, 2018 · 4 comments
Open

自动计算的跳跃系数导致各种跳不准 #61

roceys opened this issue Jan 2, 2018 · 4 comments

Comments

@roceys
Copy link

roceys commented Jan 2, 2018

RT.

@faceair
Copy link
Owner

faceair commented Jan 2, 2018

目前已知的有一种可能会导致训练数据被污染,正在想办法排除。临时可以先删 adb shell rm /data/local/tmp/similar.ai,或者先使用上一版本

@faceair
Copy link
Owner

faceair commented Jan 2, 2018

目前的回测办法是在跳完一次后等待一定的时间间隔,然后再截屏验证刚才的跳动时间和真实的跳动距离来计算对应的系数关系。然后将系数关系存储起来,当下次需要跳动这么多距离时直接使用之前测算的真实系数,这样做虽然我们不清楚真实的换算关系,但样本丰富以后系数还是会越来越准的。当不断正向反馈时,系数会越来越准,亲测可以跑到 1.7w 分(没死被我手动停掉了)。

目前我发现的问题有:

  1. 等待的时间间隔不准,可能我写死的这个时间间隔后方块还在空中、方块附近有动画效果干扰、落地后画面开始整体位移等导致实际测算的距离不准
  2. 死亡的这一跳没有排除,这样的负面反馈收集越多系数越不准,这个我打算通过增加提交延迟来解决。

@ghost
Copy link

ghost commented Jan 2, 2018

2018/01/02 07:46:42 from:[309 689] to:[470 591] distance:188.48 similar:0.00 ratio:2.3815 press:448.87ms
2018/01/02 07:46:47 from:[180 760] to:[563 544] distance:439.71 similar:0.00 ratio:2.3815 press:1047.17ms
2018/01/02 07:46:53 from:[586 710] to:[211 560] distance:403.89 similar:404.85 ratio:1.9377437850966668 press:782.63ms
2018/01/02 07:46:59 from:[344 708] to:[448 610] distance:142.90 similar:0.00 ratio:2.3815 press:340.31ms
2018/01/02 07:47:04 from:[430 712] to:[308 609] distance:159.67 similar:0.00 ratio:2.3815 press:380.24ms
2018/01/02 07:47:10 from:[489 721] to:[292 601] distance:230.67 similar:0.00 ratio:2.3815 press:549.34ms
2018/01/02 07:47:15 from:[516 726] to:[236 573] distance:319.08 similar:320.03 ratio:1.706173259863514 press:544.40ms
2018/01/02 07:47:21 from:[312 712] to:[236 573] distance:158.42 similar:0.00 ratio:2.3815 press:377.28ms
2018/01/02 07:47:28 from:[223 996] to:[667 352] distance:782.22 similar:0.00 ratio:2.3815 press:1862.86ms
2018/01/02 07:47:36 can't find the starting pointplease export the debugger direcory

🙄🙄🙄系数蜜汁变化

@faceair
Copy link
Owner

faceair commented Jan 5, 2018

目前已在最新的版本中完全移除自动调节系数,后面再有新思路和进展的话我会在这里同步

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

No branches or pull requests

2 participants