Closed hyer closed 1 year ago
I found that cond_box_prefix
and cond_cate_prefix
are only used to generate the test_llama_numerical.jsonl
file, but all executable scripts (including evaluation.py) do not use this file.
(Instead, evaluation.py uses the pre-generated data/generated_results/rico/golden.jsonl
file.)
So, it seems to be solved by erasing all the cond_bbox_prefix
and cond_cate_prefix
variables and their dependent codes, or simply inserting dummy strings like:
self.cond_bbox_prefix = ""
self.cond_cate_prefix = ""
I found that
cond_box_prefix
andcond_cate_prefix
are only used to generate thetest_llama_numerical.jsonl
file, but all executable scripts (including evaluation.py) do not use this file. (Instead, evaluation.py uses the pre-generateddata/generated_results/rico/golden.jsonl
file.)So, it seems to be solved by erasing all the
cond_bbox_prefix
andcond_cate_prefix
variables and their dependent codes, or simply inserting dummy strings like:self.cond_bbox_prefix = "" self.cond_cate_prefix = ""
Yes, I delete the irrelevant code.
Thanks for your attention to our work and sorry for my late reply. We will clean the code soon, and you can refer to the original paper to delete some irrelevant code (this part of code is mainly for my ablation studies).
I got an error when running the build training data script:
console outputs:
I have check the source code and there is not attribute 'cond_bbox_prefix' in
CustomDataLoader
.