用pip list看到装了tf

天池实验室配微型torch去马赛克环境失败笔记_下载安装


我要跑的代码网址 用conda create -n demo1 pythnotallow=3在终端创建了一个叫做demo1的环境

配环境神文

查看当前环境,是base

天池实验室配微型torch去马赛克环境失败笔记_ci_02


source activate demo1来打开demo1环境

当前环境下只有这些东西

天池实验室配微型torch去马赛克环境失败笔记_下载安装_03


运行

conda install pytorch==1.4.0 torchvision==0.5.0 cpuonly -c pytorch

安装pytorch和torchvision

安装完了,运行setup,py

不行,其中一个包安装错误,只能直接上手运行demosacinet_demo,缺啥补啥

天池实验室配微型torch去马赛克环境失败笔记_ci_04


根据错误信息安装了imageio和colorredlogs

天池实验室配微型torch去马赛克环境失败笔记_ci_05


安装matplotlib遇到报错

seaborn 0.11.0 requires pandas>=0.23, which is not installed.

seaborn 0.11.0 requires scipy>=1.0, which is not installed.

装scipy又遇到这个问题

visdom 0.1.8.9 requires jsonpatch, which is not installed.

visdom 0.1.8.9 requires pyzmq, which is not installed.

visdom 0.1.8.9 requires requests, which is not installed.

visdom 0.1.8.9 requires torchfile, which is not installed.

visdom 0.1.8.9 requires tornado, which is not installed.

visdom 0.1.8.9 requires websocket-client, which is not installed.

pip

另一头,在pycharm的debayer环境下载安装demosacinet的代码文件

一直报错,心态无语,决定先一行行看他代码得了

跑demo又遇到
ModuleNotFoundError: No module named ‘importlib_metadata’
装metadata时报错:
sqlalchemy 1.4.0b1 requires greenlet, which is not installed.
跑demo又报错
ModuleNotFoundError: No module named ‘yaml’
安装yaml报错
实际需要执行:pip install pyyaml
最后报错:
usage: demosaicnet_demo [-h] [–input INPUT] output
demosaicnet_demo: error: the following arguments are required: output


阿里云国内75折 回扣 微信号:monov8
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6