LiyiLily
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报错如下:  flare报错如下:  查看发现,检索返回的doc_item是字典组成的列表,而不是单一字典 3. REPLUG 运行报错,参数异常  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?