Skip to content

Commit 53ccee5

Browse files
committed
Rebuild
1 parent 37883df commit 53ccee5

File tree

14 files changed

+2669
-101
lines changed

14 files changed

+2669
-101
lines changed

โ€Ždocs/_downloads/813e9f58ce3b4f2283d6c6cee9fee5a7/custom_dataset_transforms_loader.ipynbโ€Ž

Lines changed: 261 additions & 0 deletions
Large diffs are not rendered by default.

โ€Ždocs/_downloads/f1992c37a58ca1039b273eaac839f845/custom_dataset_transforms_loader.pyโ€Ž

Lines changed: 459 additions & 0 deletions
Large diffs are not rendered by default.
34.6 KB
Loading

โ€Ždocs/_sources/index.rst.txtโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* `PyTorch Distributed Series </beginner/ddp_series_intro.html?utm_source=whats_new_tutorials&utm_medium=ddp_series_intro>`__
99
* `Fast Transformer Inference with Better Transformer </beginner/bettertransformer_tutorial.html?utm_source=whats_new_tutorials&utm_medium=bettertransformer>`__
1010
* `Advanced model training with Fully Sharded Data Parallel (FSDP) </intermediate/FSDP_adavnced_tutorial.html?utm_source=whats_new_tutorials&utm_medium=FSDP_advanced>`__
11-
* `Grokking PyTorch Intel CPU Performance from First Principles </intermediate/torchserve_with_ipex?utm_source=whats_new_tutorials&utm_medium=torchserve_ipex>`__
11+
* `Grokking PyTorch Intel CPU Performance from First Principles </intermediate/torchserve_with_ipex.html?utm_source=whats_new_tutorials&utm_medium=torchserve_ipex>`__
1212

1313
.. raw:: html
1414

โ€Ždocs/beginner/sg_execution_times.htmlโ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<meta property="og:url" content="https://tutorials.pytorch.kr/beginner/sg_execution_times.html" />
1515

16-
<meta property="og:description" content="00:02.067 total execution time for beginner files:,,, TorchText๋กœ ์–ธ์–ด ๋ฒˆ์—ญํ•˜๊ธฐ( torchtext_translation.py), 00:02.067, 0.0 MB,, TorchScript ์†Œ๊ฐœ( Intro_to_TorchScript_tutorial.py), 00:00.000, 0.0 MB,, ์˜ค๋””์˜ค ๋ฐ์ดํ„ฐ ์ฆ๊ฐ•( audio_data_augmentation_tutorial.py), 00:00.000, 0.0 MB,, Audio Datasets( audio_datasets_tuto..." />
16+
<meta property="og:description" content="00:06.302 total execution time for beginner files:,,, TorchText๋กœ ์–ธ์–ด ๋ฒˆ์—ญํ•˜๊ธฐ( torchtext_translation.py), 00:06.302, 0.0 MB,, TorchScript ์†Œ๊ฐœ( Intro_to_TorchScript_tutorial.py), 00:00.000, 0.0 MB,, ์˜ค๋””์˜ค ๋ฐ์ดํ„ฐ ์ฆ๊ฐ•( audio_data_augmentation_tutorial.py), 00:00.000, 0.0 MB,, Audio Datasets( audio_datasets_tuto..." />
1717

1818
<meta property="og:image" content="https://tutorials.pytorch.kr/_static/logos/logo-kr-sm-dark.png" />
1919

@@ -398,7 +398,7 @@
398398

399399
<div class="section" id="computation-times">
400400
<span id="sphx-glr-beginner-sg-execution-times"></span><h1>Computation times<a class="headerlink" href="#computation-times" title="์ด ์ œ๋ชฉ์— ๋Œ€ํ•œ ํผ๋จธ๋งํฌ">ยถ</a></h1>
401-
<p><strong>00:02.067</strong> total execution time for <strong>beginner</strong> files:</p>
401+
<p><strong>00:06.302</strong> total execution time for <strong>beginner</strong> files:</p>
402402
<table class="docutils align-default">
403403
<colgroup>
404404
<col style="width: 86%" />
@@ -407,7 +407,7 @@
407407
</colgroup>
408408
<tbody>
409409
<tr class="row-odd"><td><p><a class="reference internal" href="torchtext_translation.html#sphx-glr-beginner-torchtext-translation-py"><span class="std std-ref">TorchText๋กœ ์–ธ์–ด ๋ฒˆ์—ญํ•˜๊ธฐ</span></a> (<code class="docutils literal notranslate"><span class="pre">torchtext_translation.py</span></code>)</p></td>
410-
<td><p>00:02.067</p></td>
410+
<td><p>00:06.302</p></td>
411411
<td><p>0.0 MB</p></td>
412412
</tr>
413413
<tr class="row-even"><td><p><a class="reference internal" href="Intro_to_TorchScript_tutorial.html#sphx-glr-beginner-intro-to-torchscript-tutorial-py"><span class="std std-ref">TorchScript ์†Œ๊ฐœ</span></a> (<code class="docutils literal notranslate"><span class="pre">Intro_to_TorchScript_tutorial.py</span></code>)</p></td>

โ€Ždocs/beginner/torchtext_translation.htmlโ€Ž

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -477,15 +477,11 @@ <h2>๋ฐ์ดํ„ฐ ์ฒ˜๋ฆฌํ•˜๊ธฐ<a class="headerlink" href="#id1" title="์ด ์ œ๋ชฉ์—
477477
</pre></div>
478478
</div>
479479
<div class="sphx-glr-script-out highlight-pytb notranslate"><div class="highlight"><pre><span></span><span class="gt">Traceback (most recent call last):</span>
480-
File <span class="nb">&quot;/workspace/ko-latest/beginner_source/torchtext_translation.py&quot;</span>, line <span class="m">59</span>, in <span class="n">&lt;module&gt;</span>
481-
<span class="w"> </span><span class="n">de_tokenizer</span> <span class="o">=</span> <span class="n">get_tokenizer</span><span class="p">(</span><span class="s1">&#39;spacy&#39;</span><span class="p">,</span> <span class="n">language</span><span class="o">=</span><span class="s1">&#39;de&#39;</span><span class="p">)</span>
482-
File <span class="nb">&quot;/root/.local/lib/python3.9/site-packages/torchtext/data/utils.py&quot;</span>, line <span class="m">108</span>, in <span class="n">get_tokenizer</span>
483-
<span class="w"> </span><span class="n">spacy</span> <span class="o">=</span> <span class="n">spacy</span><span class="o">.</span><span class="n">load</span><span class="p">(</span><span class="n">OLD_MODEL_SHORTCUTS</span><span class="p">[</span><span class="n">language</span><span class="p">])</span>
484-
File <span class="nb">&quot;/root/.local/lib/python3.9/site-packages/spacy/__init__.py&quot;</span>, line <span class="m">54</span>, in <span class="n">load</span>
485-
<span class="w"> </span><span class="k">return</span> <span class="n">util</span><span class="o">.</span><span class="n">load_model</span><span class="p">(</span>
486-
File <span class="nb">&quot;/root/.local/lib/python3.9/site-packages/spacy/util.py&quot;</span>, line <span class="m">436</span>, in <span class="n">load_model</span>
487-
<span class="w"> </span><span class="k">raise</span> <span class="ne">IOError</span><span class="p">(</span><span class="n">Errors</span><span class="o">.</span><span class="n">E050</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">name</span><span class="o">=</span><span class="n">name</span><span class="p">))</span>
488-
<span class="gr">OSError</span>: <span class="n">[E050] Can&#39;t find model &#39;de_core_news_sm&#39;. It doesn&#39;t seem to be a Python package or a valid path to a data directory.</span>
480+
File <span class="nb">&quot;/workspace/ko-latest/beginner_source/torchtext_translation.py&quot;</span>, line <span class="m">69</span>, in <span class="n">&lt;module&gt;</span>
481+
<span class="w"> </span><span class="n">de_vocab</span> <span class="o">=</span> <span class="n">build_vocab</span><span class="p">(</span><span class="n">train_filepaths</span><span class="p">[</span><span class="mi">0</span><span class="p">],</span> <span class="n">de_tokenizer</span><span class="p">)</span>
482+
File <span class="nb">&quot;/workspace/ko-latest/beginner_source/torchtext_translation.py&quot;</span>, line <span class="m">67</span>, in <span class="n">build_vocab</span>
483+
<span class="w"> </span><span class="k">return</span> <span class="n">Vocab</span><span class="p">(</span><span class="n">counter</span><span class="p">,</span> <span class="n">specials</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;&lt;unk&gt;&#39;</span><span class="p">,</span> <span class="s1">&#39;&lt;pad&gt;&#39;</span><span class="p">,</span> <span class="s1">&#39;&lt;bos&gt;&#39;</span><span class="p">,</span> <span class="s1">&#39;&lt;eos&gt;&#39;</span><span class="p">])</span>
484+
<span class="gr">TypeError</span>: <span class="n">__init__() got an unexpected keyword argument &#39;specials&#39;</span>
489485
</pre></div>
490486
</div>
491487
</div>
@@ -884,7 +880,7 @@ <h2>๋‹ค์Œ ๋‹จ๊ณ„<a class="headerlink" href="#id2" title="์ด ์ œ๋ชฉ์— ๋Œ€ํ•œ
884880
<li><p><code class="docutils literal notranslate"><span class="pre">torchtext</span></code> ๋ฅผ ์‚ฌ์šฉํ•œ Ben Trevett์˜ ํŠœํ† ๋ฆฌ์–ผ์„ <a class="reference external" href="https://github.com/bentrevett/">์ด๊ณณ</a> ์—์„œ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.</p></li>
885881
<li><p><code class="docutils literal notranslate"><span class="pre">nn.Transformer</span></code> ์™€ <code class="docutils literal notranslate"><span class="pre">torchtext</span></code> ์˜ ๋‹ค๋ฅธ ๊ธฐ๋Šฅ๋“ค์„ ์ด์šฉํ•œ ๋‹ค์Œ ๋‹จ์–ด ์˜ˆ์ธก์„ ํ†ตํ•œ ์–ธ์–ด ๋ชจ๋ธ๋ง ํŠœํ† ๋ฆฌ์–ผ์„ ์‚ดํŽด๋ณด์„ธ์š”.</p></li>
886882
</ul>
887-
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 2.067 seconds)</p>
883+
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 6.302 seconds)</p>
888884
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-beginner-torchtext-translation-py">
889885
<div class="sphx-glr-download sphx-glr-download-python docutils container">
890886
<p><a class="reference download internal" download="" href="../_downloads/462f53ac0f7c6840743ad8655c43102c/torchtext_translation.py"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">torchtext_translation.py</span></code></a></p>

โ€Ždocs/index.htmlโ€Ž

Lines changed: 75 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -6,39 +6,39 @@
66
<!--[if gt IE 8]><!--> <html class="no-js" lang="ko" > <!--<![endif]-->
77
<head>
88
<meta charset="utf-8">
9-
9+
1010
<meta property="og:title" content="ํŒŒ์ดํ† ์น˜(PyTorch) ํ•œ๊ตญ์–ด ํŠœํ† ๋ฆฌ์–ผ์— ์˜ค์‹  ๊ฒƒ์„ ํ™˜์˜ํ•ฉ๋‹ˆ๋‹ค!" />
11-
11+
1212
<meta property="og:type" content="article" />
13-
13+
1414
<meta property="og:url" content="https://tutorials.pytorch.kr/index.html" />
15-
15+
1616
<meta property="og:description" content="ํŒŒ์ดํ† ์น˜(PyTorch) ํ•œ๊ตญ์–ด ํŠœํ† ๋ฆฌ์–ผ์— ์˜ค์‹  ๊ฒƒ์„ ํ™˜์˜ํ•ฉ๋‹ˆ๋‹ค. ํŒŒ์ดํ† ์น˜ ํ•œ๊ตญ ์‚ฌ์šฉ์ž ๋ชจ์ž„์€ ํ•œ๊ตญ์–ด๋ฅผ ์‚ฌ์šฉํ•˜์‹œ๋Š” ๋งŽ์€ ๋ถ„๋“ค๊ป˜ PyTorch๋ฅผ ์†Œ๊ฐœํ•˜๊ณ  ํ•จ๊ป˜ ๋ฐฐ์šฐ๋ฉฐ ์„ฑ์žฅํ•˜๋Š” ๊ฒƒ์„ ๋ชฉํ‘œ๋กœ ํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค." />
17-
17+
1818
<meta property="og:image" content="https://tutorials.pytorch.kr/_static/logos/logo-kr-sm-dark.png" />
19-
19+
2020
<meta property="og:image:alt" content="ํŒŒ์ดํ† ์น˜(PyTorch) ํ•œ๊ตญ์–ด ํŠœํ† ๋ฆฌ์–ผ์— ์˜ค์‹  ๊ฒƒ์„ ํ™˜์˜ํ•ฉ๋‹ˆ๋‹ค!" />
21-
21+
2222
<meta property="og:ignore_canonical" content="true" />
2323
<meta name="viewport" content="width=device-width, initial-scale=1.0">
24-
24+
2525
<title>ํŒŒ์ดํ† ์น˜(PyTorch) ํ•œ๊ตญ์–ด ํŠœํ† ๋ฆฌ์–ผ์— ์˜ค์‹  ๊ฒƒ์„ ํ™˜์˜ํ•ฉ๋‹ˆ๋‹ค! &mdash; ํŒŒ์ดํ† ์น˜ ํ•œ๊ตญ์–ด ํŠœํ† ๋ฆฌ์–ผ (PyTorch tutorials in Korean)</title>
26+
2627

27-
28-
29-
28+
29+
3030
<link rel="shortcut icon" href="_static/favicon.ico"/>
31+
32+
33+
3134

35+
3236

37+
38+
39+
3340

34-
35-
36-
37-
38-
39-
40-
41-
41+
4242

4343
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
4444
<!-- <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> -->
@@ -56,9 +56,9 @@
5656
<link rel="stylesheet" href="_static/css/custom.css" type="text/css" />
5757
<link rel="index" title="์ƒ‰์ธ" href="genindex.html" />
5858
<link rel="search" title="๊ฒ€์ƒ‰" href="search.html" />
59-
<link rel="next" title="PyTorch Recipes" href="recipes/recipes_index.html" />
60-
59+
<link rel="next" title="PyTorch Recipes" href="recipes/recipes_index.html" />
6160

61+
6262
<script src="_static/js/modernizr.min.js"></script>
6363

6464
<!-- Preload the theme fonts -->
@@ -115,9 +115,9 @@
115115

116116
<body class="pytorch-body">
117117

118+
118119

119-
120-
120+
121121

122122
<div class="table-of-contents-link-wrapper">
123123
<span>Table of Contents</span>
@@ -128,21 +128,21 @@
128128
<div class="pytorch-side-scroll">
129129
<div class="pytorch-menu pytorch-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
130130
<div class="pytorch-left-menu-search">
131+
131132

132-
133-
134-
135-
133+
134+
135+
136136
<div class="version">
137137
1.13.1+cu117
138138
</div>
139+
140+
139141

142+
140143

141144

142-
143-
144-
145-
145+
146146

147147

148148
<div role="search">
@@ -153,15 +153,15 @@
153153
</form>
154154
</div>
155155

156-
156+
157157
</div>
158158

159-
160-
161-
162-
163-
164-
159+
160+
161+
162+
163+
164+
165165
<p class="caption" role="heading"><span class="caption-text">ํŒŒ์ดํ† ์น˜(PyTorch) ๋ ˆ์‹œํ”ผ</span></p>
166166
<ul>
167167
<li class="toctree-l1"><a class="reference internal" href="recipes/recipes_index.html">๋ชจ๋“  ๋ ˆ์‹œํ”ผ ๋ณด๊ธฐ</a></li>
@@ -304,16 +304,16 @@
304304
<li class="toctree-l1"><a class="reference internal" href="beginner/flava_finetuning_tutorial.html">TorchMultimodal Tutorial: Finetuning FLAVA</a></li>
305305
</ul>
306306

307-
308-
307+
308+
309309
</div>
310310
</div>
311311
</nav>
312312

313313
<div class="pytorch-container">
314314
<div class="pytorch-page-level-bar" id="pytorch-page-level-bar">
315315
<div class="pytorch-breadcrumbs-wrapper">
316-
316+
317317

318318

319319

@@ -332,30 +332,30 @@
332332
<div role="navigation" aria-label="breadcrumbs navigation">
333333

334334
<ul class="pytorch-breadcrumbs">
335-
335+
336336
<li>
337337
<a href="#">
338-
338+
339339
Tutorials
340-
340+
341341
</a> &gt;
342342
</li>
343343

344-
344+
345345
<li>ํŒŒ์ดํ† ์น˜(PyTorch) ํ•œ๊ตญ์–ด ํŠœํ† ๋ฆฌ์–ผ์— ์˜ค์‹  ๊ฒƒ์„ ํ™˜์˜ํ•ฉ๋‹ˆ๋‹ค!</li>
346-
347-
346+
347+
348348
<li class="pytorch-breadcrumbs-aside">
349-
350-
349+
350+
351351
<a href="_sources/index.rst.txt" rel="nofollow"><img src="_static/images/view-page-source-icon.svg"></a>
352-
353-
352+
353+
354354
</li>
355-
355+
356356
</ul>
357357

358-
358+
359359
</div>
360360
</div>
361361

@@ -367,7 +367,7 @@
367367
<section data-toggle="wy-nav-shift" id="pytorch-content-wrap" class="pytorch-content-wrap">
368368
<div class="pytorch-content-left">
369369

370-
370+
371371

372372
<div class="pytorch-call-to-action-links">
373373
<div id="tutorial-type">index</div>
@@ -389,14 +389,14 @@
389389
</div>
390390
</div>
391391

392+
392393

393-
394-
394+
395395
<div class="rst-content">
396-
396+
397397
<div role="main" class="main-content" itemscope="itemscope" itemtype="http://schema.org/Article">
398398
<article itemprop="articleBody" id="pytorch-article" class="pytorch-article">
399-
399+
400400
<div class="section" id="pytorch">
401401
<h1>ํŒŒ์ดํ† ์น˜(PyTorch) ํ•œ๊ตญ์–ด ํŠœํ† ๋ฆฌ์–ผ์— ์˜ค์‹  ๊ฒƒ์„ ํ™˜์˜ํ•ฉ๋‹ˆ๋‹ค!<a class="headerlink" href="#pytorch" title="์ด ์ œ๋ชฉ์— ๋Œ€ํ•œ ํผ๋จธ๋งํฌ">ยถ</a></h1>
402402
<p>์•„๋ž˜ ํŠœํ† ๋ฆฌ์–ผ๋“ค์ด ์ƒˆ๋กœ ์ถ”๊ฐ€๋˜์—ˆ์Šต๋‹ˆ๋‹ค.</p>
@@ -2611,19 +2611,19 @@ <h3>ํŒŒ์ดํ† ์น˜ ํ•œ๊ตญ์–ด ์‚ฌ์šฉ์ž ๋ชจ์ž„</h3>
26112611

26122612

26132613
</article>
2614-
2614+
26152615
</div>
26162616
<footer>
2617-
2617+
26182618
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
2619-
2619+
26202620
<a href="recipes/recipes_index.html" class="btn btn-neutral float-right" title="PyTorch Recipes" accesskey="n" rel="next">Next <img src="_static/images/chevron-right-orange.svg" class="next-page"></a>
2621-
2622-
2621+
2622+
26232623
</div>
2624+
26242625

2625-
2626-
2626+
26272627

26282628
<hr class="rating-hr hr-top">
26292629
<div class="rating-container">
@@ -2638,19 +2638,19 @@ <h3>ํŒŒ์ดํ† ์น˜ ํ•œ๊ตญ์–ด ์‚ฌ์šฉ์ž ๋ชจ์ž„</h3>
26382638
</div>
26392639
<hr class="rating-hr hr-bottom"/>
26402640

2641-
2641+
26422642

26432643
<div role="contentinfo">
26442644
<p>
26452645
&copy; Copyright 2022, PyTorch &amp; ํŒŒ์ดํ† ์น˜ ํ•œ๊ตญ ์‚ฌ์šฉ์ž ๋ชจ์ž„(PyTorch Korea User Group).
26462646

26472647
</p>
26482648
</div>
2649-
2649+
26502650
<div>
26512651
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
26522652
</div>
2653-
2653+
26542654

26552655
</footer>
26562656

@@ -2680,12 +2680,12 @@ <h3>ํŒŒ์ดํ† ์น˜ ํ•œ๊ตญ์–ด ์‚ฌ์šฉ์ž ๋ชจ์ž„</h3>
26802680
</section>
26812681
</div>
26822682

2683+
26832684

26842685

2685-
2686-
2687-
2688-
2686+
2687+
2688+
26892689
<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
26902690
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
26912691
<script src="_static/jquery.js"></script>
@@ -2699,8 +2699,8 @@ <h3>ํŒŒ์ดํ† ์น˜ ํ•œ๊ตญ์–ด ์‚ฌ์šฉ์ž ๋ชจ์ž„</h3>
26992699
<script src="https://cdn.jsdelivr.net/npm/katex@0.13.11/dist/contrib/auto-render.min.js"></script>
27002700
<script src="_static/katex_autorenderer.js"></script>
27012701
<script src="_static/design-tabs.js"></script>
2702-
2703-
2702+
2703+
27042704

27052705
<script type="text/javascript" src="_static/js/vendor/popper.min.js"></script>
27062706
<script type="text/javascript" src="_static/js/vendor/bootstrap.min.js"></script>
@@ -2712,7 +2712,7 @@ <h3>ํŒŒ์ดํ† ์น˜ ํ•œ๊ตญ์–ด ์‚ฌ์šฉ์ž ๋ชจ์ž„</h3>
27122712
SphinxRtdTheme.Navigation.enable(true);
27132713
});
27142714
</script>
2715-
2715+
27162716
<script>
27172717
//add microsoft link
27182718

0 commit comments

Comments
ย (0)