LiyiLily

Results 4 issues of LiyiLily

Hi, I want to visualize the bounding box of a new image instead of datasets with annotations. How can I modify test.py file?

您好,我配置好环境后,尝试运行,并根据您回答其他人的问题尝试解决,但仍然无法正常运行代码。具体情况如下: 1. 根据https://github.com/ShannonAI/glyce 配置好 glyce 2. 运行Code/tokenize_sequence.py 生成Data/traintest/sim/glyce/SIGHAN中的数据 3. 下载google driver中的模型参数文件夹ecspell_checkpoint 4. script.sh 文件中修改地址 CHECKPOINT=./ecspell_checkpoint/ecspell 5. 运行scripe.sh 报错找不到checkpoint-19500,于是将train_baseline.py line304 修改为 logger.info(f"{os.path.join(args.load_pretrain_checkpoint, 'results', 'checkpoint')}") 6. 再次运行scripe.sh,报错如下 File "/home/admin/code/spelling_check/ECSpell/Code/data_processor.py", line 71, in...

首先感谢作者开源代码,便于对不同方法的公平比较。最近我在尝试运行“FlashRAG/examples/methods/run_exp.py”文件,部分方法根据指南可以直接、或简单修改后运行成功,以下方法遇到一些问题希望可以帮助解答: 1. LongLLMLingua 和 RECOMP-abstractive 方法out of memory,多次运行发现该问题出现的时间不固定,有时是在加载模型时、有时可以顺利加载模型但在Processed prompts时又报错。我的实验环境用的4张24G的4090,不清楚是不是该硬件环境不支持。 2. Ret-Robust和flare运行报错 Ret-Robust报错如下: ![image](https://github.com/RUC-NLPIR/FlashRAG/assets/29744135/00b343e5-6c11-4290-91da-801026cf17e2) flare报错如下: ![image](https://github.com/RUC-NLPIR/FlashRAG/assets/29744135/64ff6370-3b74-424c-89b8-0ab05757a36d) 查看发现,检索返回的doc_item是字典组成的列表,而不是单一字典 3. REPLUG 运行报错,参数异常 ![image](https://github.com/RUC-NLPIR/FlashRAG/assets/29744135/6e67e4b6-eb28-4331-9e16-99fd6cf4c47f) branching_pipeline.py line 19:self.generator = get_generator(config, model=model) 而 VLLMGenerator 中 只声明了config,缺少参数model

There is only test data in the code repository, no training data. How to get the training data?