Comments (6)
您好!请问您是怎么提取的在线特征啊,我在使用grid-feats-vqa .提取时会报错:
[06/16 14:17:39 fvcore.common.checkpoint]: [Checkpointer] Loading from others/X-101.pth ... Traceback (most recent call last): File "/home/bwh/anaconda3/envs/m2release/lib/python3.6/site-packages/detectron2/data/catalog.py", line 55, in get f = DatasetCatalog._REGISTERED[name] KeyError: 'coco_2014_test' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/bwh/python/d_3_1/others/extract_region_feature.py", line 139, in <module> data_loader = build_detection_test_loader_with_attributes(cfg, dataset_name) File "/home/bwh/python/d_3_1/others/grid_feats/build_loader.py", line 88, in build_detection_test_loader_with_attributes else None, File "/home/bwh/anaconda3/envs/m2release/lib/python3.6/site-packages/detectron2/data/build.py", line 224, in get_detection_dataset_dicts dataset_dicts = [DatasetCatalog.get(dataset_name) for dataset_name in dataset_names] File "/home/bwh/anaconda3/envs/m2release/lib/python3.6/site-packages/detectron2/data/build.py", line 224, in <listcomp> dataset_dicts = [DatasetCatalog.get(dataset_name) for dataset_name in dataset_names] File "/home/bwh/anaconda3/envs/m2release/lib/python3.6/site-packages/detectron2/data/catalog.py", line 59, in get name, ", ".join(DatasetCatalog._REGISTERED.keys()) KeyError: "Dataset 'coco_2014_test' is not registered! Available datasets are: coco_2014_train, coco_2014_val, coco_2014_minival, coco_2014_minival_100, coco_2014_valminusminival, coco_2017_train, coco_2017_val, coco_2017_test, coco_2017_test-dev, coco_2017_val_100, keypoints_coco_2014_train, keypoints_coco_2014_val, keypoints_coco_2014_minival, keypoints_coco_2014_valminusminival, keypoints_coco_2014_minival_100, keypoints_coco_2017_train, keypoints_coco_2017_val, keypoints_coco_2017_val_100, coco_2017_train_panoptic_separated, coco_2017_train_panoptic_stuffonly, coco_2017_val_panoptic_separated, coco_2017_val_panoptic_stuffonly, coco_2017_val_100_panoptic_separated, coco_2017_val_100_panoptic_stuffonly, lvis_v0.5_train, lvis_v0.5_val, lvis_v0.5_val_rand_100, lvis_v0.5_test, lvis_v0.5_train_cocofied, lvis_v0.5_val_cocofied, cityscapes_fine_instance_seg_train, cityscapes_fine_sem_seg_train, cityscapes_fine_instance_seg_val, cityscapes_fine_sem_seg_val, cityscapes_fine_instance_seg_test, cityscapes_fine_sem_seg_test, voc_2007_trainval, voc_2007_train, voc_2007_val, voc_2007_test, voc_2012_trainval, voc_2012_train, voc_2012_val, visual_genome_train, visual_genome_val, visual_genome_test"
我没有用grid-feats-vqa
中代码提取,而是使用他们提取好的特征,他们提供了coco2015的原始特征。我使用本项目中的feats_process.py
处理以后便得到了本任务的线上特征。此外,我已经把我提取好的特征放到一个提问者的网盘上,并且在readme中给出了超链接和提取码,你也可以直接使用。
from rstnet.
@zhangxuying1004 谢谢您!我直接使用了您提供的在线测试特征和预训练模型,发现生成的描述有些是不全的,像是被截断了,请问您遇到过这种情况吗,还是因为我哪里操作不当呢?
from rstnet.
@zhangxuying1004 谢谢您!我直接使用了您提供的在线测试特征和预训练模型,发现生成的描述有些是不全的,像是被截断了,请问您遇到过这种情况吗,还是因为我哪里操作不当呢?
您好,您说的这个情况我也遇到了。主要原因应该是meshed-memory-transformer提供的这套代码训练模型时,对于每一个标注的句子,没有考虑,这种方式学得的模型在测试时可能会倾向于生成那些高频/容易预测的单词并且把低频词当成提前结束。
from rstnet.
@zhangxuying1004 谢谢您!我直接使用了您提供的在线测试特征和预训练模型,发现生成的描述有些是不全的,像是被截断了,请问您遇到过这种情况吗,还是因为我哪里操作不当呢?
您好,您说的这个情况我也遇到了。主要原因应该是meshed-memory-transformer提供的这套代码训练模型时,对于每一个标注的句子,没有考虑,这种方式学得的模型在测试时可能会倾向于生成那些高频/容易预测的单词并且把低频词当成提前结束。
请问您可以提供一下您的解决方案吗?谢谢!
from rstnet.
@zhangxuying1004 谢谢您!我直接使用了您提供的在线测试特征和预训练模型,发现生成的描述有些是不全的,像是被截断了,请问您遇到过这种情况吗,还是因为我哪里操作不当呢?
您好,您说的这个情况我也遇到了。主要原因应该是meshed-memory-transformer提供的这套代码训练模型时,对于每一个标注的句子,没有考虑,这种方式学得的模型在测试时可能会倾向于生成那些高频/容易预测的单词并且把低频词当成提前结束。
请问您可以提供一下您的解决方案吗?谢谢!
可以试一下,在模型训练时,对于每一个句子,让解码器的最后一个时间步预测,即根据 bos, w_{1} ... w_{len} 依次预测w_{1} ... w_{len}, eos,而不是现在的 bos, w_{1}, ... ,w_{len-1}到w_{1}, ..., w_{len}。
from rstnet.
@zhangxuying1004 谢谢您!我直接使用了您提供的在线测试特征和预训练模型,发现生成的描述有些是不全的,像是被截断了,请问您遇到过这种情况吗,还是因为我哪里操作不当呢?
您好,您说的这个情况我也遇到了。主要原因应该是meshed-memory-transformer提供的这套代码训练模型时,对于每一个标注的句子,没有考虑,这种方式学得的模型在测试时可能会倾向于生成那些高频/容易预测的单词并且把低频词当成提前结束。
请问您可以提供一下您的解决方案吗?谢谢!
可以试一下,在模型训练时,对于每一个句子,让解码器的最后一个时间步预测,即根据 bos, w_{1} ... w_{len} 依次预测w_{1} ... w_{len}, eos,而不是现在的 bos, w_{1}, ... ,w_{len-1}到w_{1}, ..., w_{len}。
好的,谢谢您!
from rstnet.
Related Issues (20)
- vocab.pkl HOT 1
- visualness HOT 1
- Question about the position encoding HOT 2
- 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.