mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-09 10:02:22 +00:00
deploy: 556c63fbb741bcbc1669ec6848e06b08480d001f
This commit is contained in:
parent
db69c46b1d
commit
71546e8dbb
@ -393,6 +393,17 @@ Now let us run the training part:
|
||||
We use ``export CUDA_VISIBLE_DEVICES=""`` so that ``icefall`` uses CPU
|
||||
even if there are GPUs available.
|
||||
|
||||
.. hint::
|
||||
|
||||
In case you get a ``Segmentation fault (core dump)`` error, please use:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
|
||||
|
||||
See more at `<https://github.com/k2-fsa/icefall/issues/674>` if you are
|
||||
interested.
|
||||
|
||||
The training log is given below:
|
||||
|
||||
.. code-block::
|
||||
|
@ -449,6 +449,17 @@ $ ./tdnn/train.py
|
||||
<p>We use <code class="docutils literal notranslate"><span class="pre">export</span> <span class="pre">CUDA_VISIBLE_DEVICES=""</span></code> so that <code class="docutils literal notranslate"><span class="pre">icefall</span></code> uses CPU
|
||||
even if there are GPUs available.</p>
|
||||
</div>
|
||||
<div class="admonition hint">
|
||||
<p class="admonition-title">Hint</p>
|
||||
<p>In case you get a <code class="docutils literal notranslate"><span class="pre">Segmentation</span> <span class="pre">fault</span> <span class="pre">(core</span> <span class="pre">dump)</span></code> error, please use:</p>
|
||||
<blockquote>
|
||||
<div><div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="nb">export</span> <span class="nv">PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION</span><span class="o">=</span>python
|
||||
</pre></div>
|
||||
</div>
|
||||
</div></blockquote>
|
||||
<p>See more at <cite><https://github.com/k2-fsa/icefall/issues/674></cite> if you are
|
||||
interested.</p>
|
||||
</div>
|
||||
<p>The training log is given below:</p>
|
||||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>2021-08-23 19:30:31,072 INFO [train.py:465] Training started
|
||||
2021-08-23 19:30:31,072 INFO [train.py:466] {'exp_dir': PosixPath('tdnn/exp'), 'lang_dir': PosixPath('data/lang_phone'), 'lr': 0.01,
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user