Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RL training error #21

Open
HN246 opened this issue Dec 20, 2021 · 0 comments
Open

RL training error #21

HN246 opened this issue Dec 20, 2021 · 0 comments

Comments

@HN246
Copy link

HN246 commented Dec 20, 2021

当我尝试CIDEr优化训练时,遇到报错:“
gen_result, sample_logprobs, core_args = decoder(vrg_data, fc_feats, att_feats, weak_relas, att_masks, opt={'sample_max': 0, 'return_core_args': True}, mode='sample')
ValueError: need more than 2 values to unpack”
decoder()只能返回gen_result和sample_logprobs,不能返回core_args.

我想问一下,decoder()的返回值具体由那一步决定???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant