Comments (2)
@edwardpwtsoi you are running out of memory and the OOM killer is kicking in. I can successfully decode your posterior.json
on a machine with enough system memory.
Try increasing beam_cut_threshold
:
$ # beam_cut_threshold=0
/usr/bin/time -v python test.py
Command being timed: "python test.py"
User time (seconds): 8.06
System time (seconds): 19.55
Percent of CPU this job got: 123%
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:22.43
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 42,787,016
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 10706916
Voluntary context switches: 148
Involuntary context switches: 2336
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0
$
$ # beam_cut_threshold=0.000125
$ /usr/bin/time -v python test.py
Command being timed: "python test.py"
User time (seconds): 3.36
System time (seconds): 4.11
Percent of CPU this job got: 388%
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:01.92
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 2,734,556
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 693781
Voluntary context switches: 137
Involuntary context switches: 679
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0
from fast-ctc-decode.
Thank you for your reply, @iiSeymour. I could decode it when I am not using docker as well. And I had set the --oom-kill-disable while running the docker container, but it still doesn't work out. May I know did the above result run with docker?
from fast-ctc-decode.
Related Issues (20)
- How to use on windows? HOT 2
- RuntimeError: Ran out of search space (beam_cut_threshold too high) HOT 1
- slow running in arm HOT 2
- blank symbol HOT 2
- Any plans to further extend/maintain this project? HOT 2
- How to use search2D? I found the search 1D is default
- Is there an easy way to get the probability of the best path? HOT 2
- crf_beam_search
- Unable to compile code HOT 4
- how to get text score? HOT 1
- Install on jetson tx2 HOT 6
- could I use the last character/label as the blank label?
- version published to crates.io HOT 3
- what's the difference between viterbi and beam search? HOT 2
- batch beam search? HOT 1
- Compilation error arm64 HOT 1
- Publish arm64 OSX package on pypi HOT 6
- could beam search build as a C static library?
- Do the alphabet and shape include the blank symbol? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fast-ctc-decode.