Closed Thinking-more closed 2 years ago
@joe32140 @ethan5437 還有人記得嗎....
哈哈哈,感谢回复,还有个问题就是在stage3,执行python inference_added_story.py -model save_model_finetuneLDPE_pretrain_vist/trained_accu_55.397.chkpt -device 3 -positional LDPE -term_path ../../stage2/visual_genome_language_model_terms_add_lowest.json时,跑不通该程序,添加参数term_path也会报错,而且我看数据集的处理好像没有用到图片间新增加的term?
@RENJZ1026 你可以把跑不過的 error message 貼上來嗎?不過年代實在非常久遠,我也不是很有信心能幫你除錯QQ
在 ROC_replace_coref_gender_mapped_frame_noun.json
我們使用 coreference resolution 去把故事中的 pronouns 改成對應的 enitity. For example, "There is a dog. It's running" -> "There is a dog. The dog is running". 可以參考 paper Table 1.
这里说的data/preprocess_src好像没有提供耶
只能問 @ethan5437 還有沒有權限了
只能問 @ethan5437 還有沒有權限了
好滴,感谢您的帮助!
@RENJZ1026 你可以把跑不過的 error message 貼上來嗎?不過年代實在非常久遠,我也不是很有信心能幫你除錯QQ
这是我遇到的问题:
当我直接执行readme提供的:python inference_added_story.py -model save_model_finetuneLDPE_pretrain_vist/trained_accu_55.397.chkpt -device 3 -positional LDPE -term_path ../../stage2/visual_genome_language_model_terms_add_lowest.json
报错:inference_added_story.py: error: the following arguments are required: -insert, -relation
然后我执行:python inference_added_story.py -model save_model_finetuneLDPE_pretrain_vist/trained_accu_55.397.chkpt -device 3 -positional LDPE -term_path ../../stage2/visual_genome_language_model_terms_add_lowest.json -insert 1 -relation vg
报错:inference_added_story.py: error: unrecognized arguments: -term_path ../../stage2/visual_genome_language_model_terms_add_lowest.json
然后我在inference_added_story.py的parser中加入:
parser.add_argument(‘-term_path, type=str)后运行:python inference_added_story.py -model save_model_finetuneLDPE_pretrain_vist/trained_accu_55.397.chkpt -device 3 -positional LDPE -term_path ../../stage2/visual_genome_language_model_terms_add_lowest.json -insert 1 -relation vg
报错:Traceback (most recent call last):
File "inference_added_story.py", line 84, in
无论您是否还能回答出,我都十分感激您的耐心帮助!
@RENJZ1026 我看了看 code 的確跟 README 寫的不一樣,但年代真的太久了我也回想不起來,真是抱歉幫不上忙
@RENJZ1026 我看了看 code 的確跟 README 寫的不一樣,但年代真的太久了我也回想不起來,真是抱歉幫不上忙
没关系,非常感谢您的帮助!我再研究研究。
那我把這個 issue 先關了。如果之後還有別的問題,再麻煩你開新的 issue。謝謝
我也沒有權限了 抱歉幫不上忙...
On Fri, Jan 14, 2022 at 5:41 PM Zi-Yuan Chen @.***> wrote:
Closed #9 https://github.com/zychen423/KE-VIST/issues/9.
— Reply to this email directly, view it on GitHub https://github.com/zychen423/KE-VIST/issues/9#event-5893588376, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHYDWQ6KIKFDH2ECC7YXPHDUV7VTHANCNFSM5L3CUT6A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>
您好,请问ROC_replace_coref_gender_mapped_frame_noun.json和ROC_train,ROC_valid,ROC_test有什么区别呢?