Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于特征提取bottom-up #189

Open
sunmoxian opened this issue Sep 19, 2023 · 5 comments
Open

关于特征提取bottom-up #189

sunmoxian opened this issue Sep 19, 2023 · 5 comments

Comments

@sunmoxian
Copy link

我将预先提取好的特征cocobu_att下载下来进行训练,出现错误:
FileNotFoundError: [Errno 2] No such file or directory: 'D:\\moxian\\self-critical.pytorch-master\\data\\cocobu_att\428773.npz'
难道是因为我没有下载完整吗?相对路径和绝对路径都用了,但是还是出现同样的错误。
另外,我发现提取特征下载的文件中没有box特征,这个会有很大影响吗

@sunmoxian
Copy link
Author

老师您好,麻烦您回答一下我的问题,嘻嘻

@ruotianluo
Copy link
Owner

box特征没用到。你有看过D:\moxian\self-critical.pytorch-master\data\cocobu_att\428773.npz有这个文件吗?有可能是解压的问题。

@sunmoxian
Copy link
Author

box特征没用到。你有看过D:\moxian\self-critical.pytorch-master\data\cocobu_att\428773.npz有这个文件吗?有可能是解压的问题。

我重新解压了一遍,出现了同样的错误。cocobu_att文件打开是乱码,没找到428773.npz文件,我准备自己重新提取特征。谢谢老师!

@qq123aa456
Copy link

box特征没用到。你有看过D:\moxian\self-critical.pytorch-master\data\cocobu_att\428773.npz有这个文件吗?有可能是解压的问题。

我重新解压了一遍,出现了同样的错误。cocobu_att文件打开是乱码,没找到428773.npz文件,我准备自己重新提取特征。谢谢老师!

请问你自己提取成功了吗,我想问问自己怎么提取的?

@sunmoxian
Copy link
Author

box特征没用到。你有看过D:\moxian\self-critical.pytorch-master\data\cocobu_att\428773.npz有这个文件吗?有可能是解压的问题。

我重新解压了一遍,出现了同样的错误。cocobu_att文件打开是乱码,没找到428773.npz文件,我准备自己重新提取特征。谢谢老师!

请问你自己提取成功了吗,我想问问自己怎么提取的?

提取成功了,首先下载trainval.zip,把它放在data/bu_data文件
然后执行python scripts/make_bu_data.py --output_dir data/cocobu
这些在data中的readme中都有所叙述
另外就是需要你更改一下make_bu_data.py文件的内容,具体出错部分和更改部分我忘了,你得自己调试的看

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants