Skip to content

Commit f166f82

Browse files
committedNov 22, 2019
apply pytorch/tutorials#a8025b7 (PyTorchKorea#12)
PyTorch Tutorials 1.3 ์›๋ฌธ ๋ฐ˜์˜
1 parent 7624fd1 commit f166f82

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+3055
-1294
lines changed
 

โ€Ž.jenkins/build.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ export PATH=/opt/conda/bin:$PATH
1919
pip install sphinx==1.8.2 pandas
2020

2121
# For Tensorboard. Until 1.14 moves to the release channel.
22-
pip install tb-nightly
22+
pip install tb-nightly
23+
24+
# Install two language tokenizers for Translation with TorchText tutorial
25+
python -m spacy download en
26+
python -m spacy download de
2327

2428
# PyTorch Theme
2529
rm -rf src

โ€Ž.jenkins/remove_invisible_code_block_from_html.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
html = html_file.read()
99
html_soup = BeautifulSoup(html, 'html.parser')
1010

11-
elems = html_soup.find_all("div", {"class": "highlight-python"})
11+
elems = html_soup.find_all("div", {"class": "highlight-default"})
1212
for elem in elems:
1313
if "%%%%%%INVISIBLE_CODE_BLOCK%%%%%%" in str(elem):
1414
elem.decompose()

0 commit comments

Comments
 (0)
Please sign in to comment.