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

Can't run test of seg_ctc_ent_log_fb.py file with Pytorch 1.2 #11

Open
AndiezPham opened this issue Jul 7, 2020 · 0 comments
Open

Can't run test of seg_ctc_ent_log_fb.py file with Pytorch 1.2 #11

AndiezPham opened this issue Jul 7, 2020 · 0 comments

Comments

@AndiezPham
Copy link

AndiezPham commented Jul 7, 2020

Hi @liuhu-bigeye,
When I try to test seg_ctc_ent_log_fb.py with Pytorch 1.2, I have an issue of RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.FloatTensor [23, 20, 12]], which is output 0 of SliceBackward, is at version 50; expected version 48 instead.
This error comes from line 162 to line 166 of seg_ctc_ent_log_fb.py (blank_dev branch)
Can you help me refactor this code for Pytorch 1.2!
Thanks you so much!!

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