复现网状的记忆Transformer图像描述模型(失败)

复现该项目的代码失败:aimagelab/meshed-memory-transformer
复现时参考该博主的文章:meshed-memory transformer代码实现(绝对详细)(然而还是未成功!)
复现时遇到的问题以及解决方案(供参考,有人复现成功啦,评论告诉一下哈,想参考参考呢)
参考链接:
1、安装pycocotools失败解决方法:
在windows环境下安装pycocotools(这种方法下载的文件需要放在C:\Users\deep\anaconda3\Lib\site-packages下)
安装
2、pycocotools安装报错解决方案:pycocotools安装报错解决

3、报错ModuleNotFoundError:No module named‘past’:ModuleNotFoundError:No module named‘past’解决方法
安装成功:

(m2release) D:\***\meshed-memory-transformer-master>pip install future==0.17.1
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting future==0.17.1
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/90/52/e20466b85000a181e1e144fd8305caf2cf475e2f9674e797b222f8105f5f/future-0.17.1.tar.gz (829kB)
     |████████████████████████████████| 829kB 6.4MB/s
Building wheels for collected packages: future
  Building wheel for future (setup.py) ... done
  Created wheel for future: filename=future-0.17.1-cp36-none-any.whl size=488736 sha256=9cd9cf45f8318832d9ea04007b5ec5bbbd238bca95a7b7a49833bc9896de879a
  Stored in directory: C:\Users\deep\AppData\Local\pip\Cache\wheels\3f\66\fe\9c4fd5c707a9f26993ba157f0752d84d5c7e26aedbefb84f76
Successfully built future
Installing collected packages: future
Successfully installed future-0.17.1

4、torch的离线下载网站:网站
5、明明有h5py包但是运行程序时还是找不到h5py库:h5py库安装问题解决

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

饿了就干饭

你的鼓励将是我创作的最大动力~

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值