Adversarial Autoencoder相关问题

前言

简述:因为盖楼失败导致代码跑不出来,直接借用了别人的代码,发现问题更多,于是踏入了解决环境配置的不归路。目前决定先挖坑,记录下来,以备日后使用。
原始目标:Adversarial Autoencoder 论文学习+代码实现
遇到的问题:下载了两份代码(来源不同),但是都跑不出来,问题各异。

问题1(解决)

代码来源:代码1
问题描述:执行代码后python返回错误
python错误信息:‘TypeError: unsupported operand type(s) for +: "int" and "NoneType" while run python train.py
解决方法:见开发者github的issues
说明:将Lasagne更新到开发版本(0.2.dev1)即可
操作:按照官网的方法更新到Bleeding-edge version
简要步骤说明:
conda目录下更新TheanoLasagne

pip install --upgrade https://github.com/Theano/Theano/archive/master.zip
pip install --upgrade https://github.com/Lasagne/Lasagne/archive/master.zip 

问题2(未解决)

代码来源:代码2
问题描述:缺少chainer模块
当前问题:安装chainer模块失败。安装使用命令:

pip install chainer -vvvv

安装完成后,在控制台下执行python -c "import chainer"后,python直接显示终止运行(难以理解的bug)。
说明:这份代码比较全,建议使用。

你可能感兴趣的:(Adversarial Autoencoder相关问题)