Comments (3)
非常感谢你能开源论文的代码。但是在 evaluation 中,并没有计算 spice 分数的相关代码,我想知道你是如何得到 spice 分数的?
您好,这里把spice部分去掉的原因是训练过程中计算spice太耗时,模型训练好以后,测试时加上即可。把https://github.com/ruotianluo/coco-caption/tree/ea20010419a955fed9882f9dcc53f2dc1ac65092/pycocoevalcap 这个链接下的spice文件夹放到evaluation文件夹下,并在__init__.py中把spice引入即可。
from rstnet.
非常感谢你能开源论文的代码。但是在 evaluation 中,并没有计算 spice 分数的相关代码,我想知道你是如何得到 spice 分数的?
您好,这里把spice部分去掉的原因是训练过程中计算spice太耗时,模型训练好以后,测试时加上即可。把https://github.com/ruotianluo/coco-caption/tree/ea20010419a955fed9882f9dcc53f2dc1ac65092/pycocoevalcap 这个链接下的spice文件夹放到evaluation文件夹下,并在__init__.py中把spice引入即可。
非常感谢,这对我帮助很大!
from rstnet.
你好,非常抱歉,再次打扰你。我对于 beamsearch.py 中对 visual 进行 expand 的操作不是很理解,visual 只是当 t=0 时,作为 encoder 的输入,得到 self.enc_output,decoder 的输入也只有 self.enc_output。对 self.enc_output 进行 expand 后,visual 感觉就没有必要再进行处理了,为什么要多此一举?
from rstnet.
Related Issues (20)
- vocab.pkl HOT 1
- visualness HOT 1
- Question about the position encoding HOT 2
- online特征提取 HOT 6
- Cannot download the image_info_test2014.json HOT 2
- No such file or directory: 'vocab_language/vocab_bert_language.pkl' HOT 1
- 关于 online test 代码 HOT 2
- TypeError: 'generator' object is not callable HOT 2
- question about warning HOT 3
- online test 提交 HOT 4
- Some question about custom dataset HOT 1
- 请问用您的environment.yml创建conda环境时总是报各种依赖冲突,请问这种情况该如何解决呢?感谢 HOT 1
- 训练transformer时assert language_model_path is not None HOT 2
- 关于X152_grid_feature文件 HOT 5
- 关于supplementary material HOT 2
- 关于ResNext152数据集和spice指标 HOT 3
- Run for Custom dataset HOT 1
- 计算机配置 HOT 1
- Some question about the Adaptive-Attention (AA) module HOT 3
- questions about bert_model input
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rstnet.