fast_abs_rl
fast_abs_rl copied to clipboard
raise RuntimeError("Mismatch in shape: grad_output[" RuntimeError: Mismatch in shape: grad_output[0] has a shape of torch.Size([1]) and output[0] has a shape of torch.Size([]).
deer how to solve it?in the rl.py autograd.backward( [critic_loss] + losses, [torch.ones(1).to(critic_loss.device)]*(1+len(losses)), ) raise that problem
How can i install ROUGE package? what is the DB_file which should be installed?
deer how to solve it?in the rl.py autograd.backward( [critic_loss] + losses, [torch.ones(1).to(critic_loss.device)]*(1+len(losses)), ) raise that problem
have you solve the problem ?
thanks
| | @.*** | | @.*** |
---- Replied Message ---- | From | @.> | | Date | 01/14/2023 20:45 | | To | @.> | | Cc | @.>@.> | | Subject | Re: [ChenRocks/fast_abs_rl] raise RuntimeError("Mismatch in shape: grad_output[" RuntimeError: Mismatch in shape: grad_output[0] has a shape of torch.Size([1]) and output[0] has a shape of torch.Size([]). (Issue #73) |
deer how to solve it?in the rl.py autograd.backward( [critic_loss] + losses, [torch.ones(1).to(critic_loss.device)]*(1+len(losses)), ) raise that problem
have you solve the problem ?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
I meet the same problem
deer how to solve it?in the rl.py autograd.backward( [critic_loss] + losses, [torch.ones(1).to(critic_loss.device)]*(1+len(losses)), ) raise that problem
have you solve the problem ?