摘要: Step1:将gym克隆到计算机上: 如果你的电脑没有安装git,那么键入 Step2:进入gym文件夹 step3安装库 Step4:进行完全安装 结束 阅读全文
posted @ 2018-12-20 13:55 Fiona_Y 阅读(350) 评论(0) 推荐(0)
摘要: 1.打开一个终端,输入dpkg --list ,按下Enter键,终端输出以下内容,显示的是你电脑上安装的所有软件2.在终端中找到你需要卸载的软件的名称,列表是按照首字母排序的。3.在终端上输入命令sudo apt-get --purge remove 包名(--purge是可选项,写上这个属性是将 阅读全文
posted @ 2018-12-20 13:50 Fiona_Y 阅读(179) 评论(0) 推荐(0)
摘要: MATLAB2015教程中示例 clc;clear;% 装载图像load woman;% X包含载入的图像% 绘制原始图像figure(1);subplot(2,2,1);image(X);colormap(map);title('原始图像');% 使用sym5对X进行尺度为2的分解[c,s] = 阅读全文
posted @ 2018-12-20 13:40 Fiona_Y 阅读(1410) 评论(0) 推荐(0)
摘要: 运行有关mnist数据集文件时出现了No module named 'input_data'的问题,这个问题主要是因为你的py文件中缺少input_data.py的文件,只要在你建的文件夹中加入一个input_data.py文件即可。文件代码如下: from __future__ import ab 阅读全文
posted @ 2018-12-20 13:37 Fiona_Y 阅读(209) 评论(0) 推荐(0)
摘要: from __future__ imports must occur at the beginning of the file问题的解决 在运行input_data.py 文件是,出现了这个错误from __future__ imports must occur at the beginning o 阅读全文
posted @ 2018-12-20 13:36 Fiona_Y 阅读(888) 评论(0) 推荐(0)
摘要: 下载torch安装包: 安装依赖库: 安装好后会提示: Torch7’s dependencies have been installed 安装torch: 安装到最后会提示是否将torch安装路径加入~/.bashrc文件中: Do you want to automatically prepen 阅读全文
posted @ 2018-12-10 16:39 Fiona_Y 阅读(360) 评论(0) 推荐(0)
摘要: 系统为Ubuntu16.04来安装Gym-TORCS 安装pip: 安装python 3。 安装xautomation: 安装OpenAI-Gym:https://github.com/openai/gym 安装Gym-TORCS:https://github.com/ugo-nama-kun/gy 阅读全文
posted @ 2018-12-10 15:30 Fiona_Y 阅读(710) 评论(0) 推荐(0)
摘要: 1.module 'tensorflow' has no attribute 'mul' tf.mul已经在新版本中被移除,使用 tf.multiply 代替 解决方法 将tf.mul(input1, input2) 改为 tf.multiply(input1, input2) 2.Attribut 阅读全文
posted @ 2018-11-30 10:01 Fiona_Y 阅读(867) 评论(0) 推荐(0)
摘要: 第二讲:Spring joint组建介绍 点重小鸟右侧add component输入spring joint,选择spring joint 2D(弹簧关节)。给右侧树枝加刚体选择physics 2D-rigid body2D,body type改为static(静止)。点解小鸟,右侧spring j 阅读全文
posted @ 2018-11-27 16:22 Fiona_Y 阅读(284) 评论(0) 推荐(0)
摘要: 第一讲:资源导入,场景的简单搭建 1.创建一个2D工程,用到了3个场景,因此ctrl +S创建场景00-level,ctrl+N保存在你创建的文件夹中,这样一个文件就创建好了,之后继续重复此步骤创建另外两个文件。 2.创建完成后导入资源,在source文件夹下选择Image和music两个文件夹点击 阅读全文
posted @ 2018-11-27 16:14 Fiona_Y 阅读(395) 评论(0) 推荐(0)