# wx-jump **Repository Path**: aokinba/wx-jump ## Basic Information - **Project Name**: wx-jump - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-09-17 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 1.cmd命令输入 adb nodaemon server netstat -aon|findstr "5037" taskkill -PID 7072 -f 2.另一窗口可以输入命令 --------截屏命令----------------- adb shell /system/bin/screencap -p /sdcard/screenshot.png(保存到SDCard) adb pull /sdcard/screenshot.png d:/screenshot.png(保存到电脑) -------------点击再玩一局按钮------------ adb shell input tap 650 1700 --------步骤----------- 通过荣耀v10测试 分辨率1080*2016 1.通过adb连接安卓手机,打开跳一跳,运行Jump.py 2.运行tfrecords,创建训练集和测试集 3.运行alexnet训练模型,Loss可以到10左右 4.运行alexnet.jump方法,实战跳一跳,300个样本可以跳270分。样本增加分数会高? ----------深度网络dqn------------- 1.uimodel是判断界面类型,二分类,0是正在运行,1是失败画面 1.安装adb (添加adb路径到环境变量) 2.python3 3.教程http://zh.gluon.ai # 安装conda环境 https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/ # Windows 10下安装Miniconda3 https://blog.csdn.net/u012325865/article/details/80454813 https://blog.csdn.net/Gelare/article/details/93143588 # 解决网络问题 打开文件删除 -defaults这一行 C:\Users\Administrator\.condarc # cmd命令创建python3环境 conda create --name test_py3 python=3.6 # cmd命令切换python3环境 conda activate test_py3 # 安装tensorflow conda install tensorflow conda install tensorflow-gpu (需要用独立显卡训练,还需安装显卡驱动CUDA) # cuda安装 https://developer.nvidia.com/cuda-downloads?target_os=Windows&target_arch=x86_64&target_version=10&target_type=exelocal # 安装python插件 pip install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple pip install Pillow -i https://pypi.tuna.tsinghua.edu.cn/simple # 根目录运行游戏,需要手机连接adb,打开跳一跳小程序 python jump.py