Segfault: warp-ctc pytorch bindings
See original GitHub issueHello, I’m trying to use CTC for an OCR which uses a similar architecture, following the examples at https://github.com/SeanNaren/warp-ctc/blob/pytorch_bindings/pytorch_binding/README.md.
I was initially having a problem with the types (IntTensor/FloatTensor), which I believe I fixed with some trial and error, but right now I’m stuck at a segfault.
Can you tell me what probs_sizes, and label sizes are? I don’t understand this in deepspeech.pytorch:
sizes = Variable(input_percentages.mul_(int(seq_length)).int(), requires_grad=False)
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
PyTorch bindings for Warp-CTC - GitHub
This is a warpctc module for PyTorch. It targets PyTorch 0.4+ and uses the C++ extension mechanism. Warp-CTC was created by Baidu, see...
Read more >Segmentation fault - PyTorch Forums
Hi,ptrblck, I solved this problem. look into this code, and it is a function of a sampler of Dataloader. def iter(self) returns iter(torch....
Read more >Core dumped segmentation fault - PyTorch Forums
I am running my code for graph convolutional networks and I use NeighborSampler from pytorch geometric package. When I do backtrace using ...
Read more >Segmentation Fault when importing PyTorch
When I tried to import PyTorch in python, it crashed with a segfault error: “Segmentation fault (core dumped)” is all I have about...
Read more >Pybind - Pytorch Segfault? - C++
Then it doesnt segfault. Whats going on? I did a GDB and found the following: Program received signal SIGSEGV, Segmentation fault.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Is it possible to get the log probability of the all characters after CTC?