Comments (5)
{'testlen': 0, 'reflen': 0, 'guess': [0, 0, 0, 0], 'correct': [0, 0, 0, 0]}
ratio: 1e-06
Bleu_1: 0.000
Bleu_2: 0.000
Bleu_3: 0.000
Bleu_4: 0.000
computing METEOR score...
Traceback (most recent call last):
File "/home/zhangc/groundingLMM/eval/gcg/evaluate.py", line 285, in
main()
File "/home/zhangc/groundingLMM/eval/gcg/evaluate.py", line 269, in main
coco_eval.evaluate()
File "/home/zhangc/miniconda3/envs/glamm/lib/python3.10/site-packages/pycocoevalcap/eval.py", line 57, in evaluate
score, scores = scorer.compute_score(gts, res)
File "/home/zhangc/miniconda3/envs/glamm/lib/python3.10/site-packages/pycocoevalcap/meteor/meteor.py", line 41, in compute_score
self.meteor_p.stdin.flush()
BrokenPipeError: [Errno 32] Broken pipe
from groundinglmm.
The value returned in the tokenizer is none
/home/zhangc/miniconda3/envs/glamm/lib/python3.10/site-packages/pycocoevalcap/tokenizer/ptbtokenizer.py
p_tokenizer = subprocess.Popen(cmd, cwd=path_to_jar_dirname,
stdout=subprocess.PIPE)
print("111",p_tokenizer.communicate(input=sentences.rstrip()))
token_lines = p_tokenizer.communicate(input=sentences.rstrip())[0]
print("token_lines",token_lines)
token_lines = token_lines.decode()
lines = token_lines.split('\n')
from groundinglmm.
Thank you for your interest in our work. I tried running the GCG evaluation again, however can't reproduce the error you are getting. I suspect there might something went wrong during inference. Can you please try to repeat the evaluation process following the official docs at run_evaluation.sh and see if the problem persists. Further,
- After running inference using
eval/gcg/infer.py
, please make sure that the results directory has8177
json files corresponding to each video. - It is good idea to analyze the contents of a few predictions to verify if the model is generating reasonable outputs. If not, there may be some issues with the checkpoints or the transformers version.
I hope it will help. Thank You.
from groundinglmm.
Thanks again for your answer, the problem may be with the subprocess library, which I solved by using os.system. Now all the indicators are calculated correctly.
from groundinglmm.
Thanks @clevercaicai for the update, do let me know if you have any further question or face any other issue. Thanks
from groundinglmm.
Related Issues (20)
- Online Demo Down HOT 1
- Fine-tuning Grounded Conversation Generation (GCG) Task HOT 4
- token_positives HOT 2
- assertion error cur_len == total_len HOT 1
- can not install mmcv HOT 2
- Can not find file for glamm_conda_env.zip in the given Google Drive Link HOT 4
- Training on New Data HOT 2
- training V-L and L-P projection layer HOT 1
- Can not download the train.json file for visual genome
- How can I let the model receive multiple images at once HOT 1
- How should I train on the GranD dataset
- How can I finetune on combined tasks?
- Confusing referring segmentation results. HOT 1
- mmcv failed to install HOT 1
- AssertionError when running a demo
- Offline demo error
- Why is it that during the computation of segmentation results, the model() function is used instead of model.generate()? Wouldn't this mean that when predicting the next token, the information viewed is from the actual token rather than the predicted one? HOT 1
- What are the ‘categories’ in the dataset used for? When would I use them?
- How to Construct a Ground-Truth Test Dataset
- Question about eval pipeline on RefCOCO (doing sampling during evaluation).
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 groundinglmm.