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

用pip list看到装了tf
在这里插入图片描述
我要跑的代码网址
用conda create -n demo1 python=3在终端创建了一个叫做demo1的环境
配环境神文
查看当前环境,是base
在这里插入图片描述
source activate demo1来打开demo1环境
当前环境下只有这些东西
在这里插入图片描述
运行

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

安装pytorch和torchvision
安装完了,运行setup,py
不行,其中一个包安装错误,只能直接上手运行demosacinet_demo,缺啥补啥
在这里插入图片描述
根据错误信息安装了imageio和colorredlogs
在这里插入图片描述
安装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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值