Skip to content

Commit

Permalink
deploy: fdbf0c3
Browse files Browse the repository at this point in the history
  • Loading branch information
genisplaja committed Nov 29, 2023
1 parent 9970e6e commit 6c22244
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 33 deletions.
2 changes: 1 addition & 1 deletion _sources/introduction/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This cool interface helps readers go through the learning materials on the web p

(google-collab)=
### Running the book in the cloud: Google Collaboratory
In some pages of the tutorial, you will observe that **a rocket icon (<img src="https://raw.githubusercontent.com/FortAwesome/Font-Awesome/6.x/svgs/solid/rocket.svg" width="20" height="20">) appears at the right top of the screen**. This is an indicator that such particular page is includes runable code, which you can conviniently run on the cloud.
In some pages of the tutorial, you will observe that **a rocket icon (<svg xmlns="http://www.w3.org/2000/svg" height="20" width="20" viewBox="0 0 512 512"><path d="M156.6 384.9L125.7 354c-8.5-8.5-11.5-20.8-7.7-32.2c3-8.9 7-20.5 11.8-33.8L24 288c-8.6 0-16.6-4.6-20.9-12.1s-4.2-16.7 .2-24.1l52.5-88.5c13-21.9 36.5-35.3 61.9-35.3l82.3 0c2.4-4 4.8-7.7 7.2-11.3C289.1-4.1 411.1-8.1 483.9 5.3c11.6 2.1 20.6 11.2 22.8 22.8c13.4 72.9 9.3 194.8-111.4 276.7c-3.5 2.4-7.3 4.8-11.3 7.2v82.3c0 25.4-13.4 49-35.3 61.9l-88.5 52.5c-7.4 4.4-16.6 4.5-24.1 .2s-12.1-12.2-12.1-20.9V380.8c-14.1 4.9-26.4 8.9-35.7 11.9c-11.2 3.6-23.4 .5-31.8-7.8zM384 168a40 40 0 1 0 0-80 40 40 0 1 0 0 80z"/></svg>) appears at the right top of the screen**. This is an indicator that such particular page is includes runable code, which you can conviniently run on the cloud.

Google Collaboratory (abbreviated as Collab) is a handy tool in which you can import and run the code in this tutorial. Moreove, you will be able to edit the code, to further explore and extend what you will be learning throughout the tutorial.

Expand Down
2 changes: 1 addition & 1 deletion introduction/setup.html
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ <h2> Contents </h2>
<p>This cool interface helps readers go through the learning materials on the web page. This tutorial can be entirely followed on the web, bypassing the need of installing anything locally. <strong>However, the coding materials in this tutorial are interactive.</strong> There are different ways in which you can explore and run the code in this tutorial. Next up, we briefly present the additional features of this webbook.</p>
<section id="running-the-book-in-the-cloud-google-collaboratory">
<span id="google-collab"></span><h3>Running the book in the cloud: Google Collaboratory<a class="headerlink" href="#running-the-book-in-the-cloud-google-collaboratory" title="Permalink to this headline">#</a></h3>
<p>In some pages of the tutorial, you will observe that <strong>a rocket icon (<img src="https://raw.githubusercontent.com/FortAwesome/Font-Awesome/6.x/svgs/solid/rocket.svg" width="20" height="20">) appears at the right top of the screen</strong>. This is an indicator that such particular page is includes runable code, which you can conviniently run on the cloud.</p>
<p>In some pages of the tutorial, you will observe that <strong>a rocket icon (<svg xmlns="http://www.w3.org/2000/svg" height="20" width="20" viewBox="0 0 512 512"><path d="M156.6 384.9L125.7 354c-8.5-8.5-11.5-20.8-7.7-32.2c3-8.9 7-20.5 11.8-33.8L24 288c-8.6 0-16.6-4.6-20.9-12.1s-4.2-16.7 .2-24.1l52.5-88.5c13-21.9 36.5-35.3 61.9-35.3l82.3 0c2.4-4 4.8-7.7 7.2-11.3C289.1-4.1 411.1-8.1 483.9 5.3c11.6 2.1 20.6 11.2 22.8 22.8c13.4 72.9 9.3 194.8-111.4 276.7c-3.5 2.4-7.3 4.8-11.3 7.2v82.3c0 25.4-13.4 49-35.3 61.9l-88.5 52.5c-7.4 4.4-16.6 4.5-24.1 .2s-12.1-12.2-12.1-20.9V380.8c-14.1 4.9-26.4 8.9-35.7 11.9c-11.2 3.6-23.4 .5-31.8-7.8zM384 168a40 40 0 1 0 0-80 40 40 0 1 0 0 80z"/></svg>) appears at the right top of the screen</strong>. This is an indicator that such particular page is includes runable code, which you can conviniently run on the cloud.</p>
<p>Google Collaboratory (abbreviated as Collab) is a handy tool in which you can import and run the code in this tutorial. Moreove, you will be able to edit the code, to further explore and extend what you will be learning throughout the tutorial.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
Expand Down
52 changes: 26 additions & 26 deletions melodic_analysis/exploring-raga.html
Original file line number Diff line number Diff line change
Expand Up @@ -1432,14 +1432,14 @@ <h3>3.1 Predominant pitch extraction<a class="headerlink" href="#predominant-pit
</div>
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>2023-11-29 16:45:52.311728: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library &#39;libcudart.so.11.0&#39;; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/cv2/../../lib64:
2023-11-29 16:45:52.311758: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>2023-11-29 16:48:08.811119: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library &#39;libcudart.so.11.0&#39;; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/cv2/../../lib64:
2023-11-29 16:48:08.811144: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>2023-11-29 16:45:53.442167: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library &#39;libcuda.so.1&#39;; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/cv2/../../lib64:
2023-11-29 16:45:53.442192: W tensorflow/stream_executor/cuda/cuda_driver.cc:269] failed call to cuInit: UNKNOWN ERROR (303)
2023-11-29 16:45:53.442210: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (fv-az1020-639): /proc/driver/nvidia/version does not exist
2023-11-29 16:45:53.442388: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>2023-11-29 16:48:09.977904: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library &#39;libcuda.so.1&#39;; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/cv2/../../lib64:
2023-11-29 16:48:09.977928: W tensorflow/stream_executor/cuda/cuda_driver.cc:269] failed call to cuInit: UNKNOWN ERROR (303)
2023-11-29 16:48:09.977947: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (fv-az774-635): /proc/driver/nvidia/version does not exist
2023-11-29 16:48:09.978121: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
</pre></div>
</div>
Expand Down Expand Up @@ -1727,11 +1727,16 @@ <h3>3.2 Visualising predominant pitch<a class="headerlink" href="#visualising-pr
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>{54.997834212038505: &#39;R2&#39;,
109.99566842407701: &#39;R2&#39;,
219.99133684815402: &#39;R2&#39;,
439.98267369630804: &#39;R2&#39;,
879.965347392616: &#39;R2&#39;,
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>{73.4133009992652: &#39;P&#39;,
146.8266019985304: &#39;P&#39;,
293.6532039970608: &#39;P&#39;,
587.3064079941216: &#39;P&#39;,
1174.6128159882435: &#39;P&#39;,
82.40364421278775: &#39;D2&#39;,
164.8072884255755: &#39;D2&#39;,
329.614576851151: &#39;D2&#39;,
659.229153702302: &#39;D2&#39;,
1318.458307404604: &#39;D2&#39;,
87.30361988416256: &#39;N2&#39;,
174.60723976832512: &#39;N2&#39;,
349.21447953665023: &#39;N2&#39;,
Expand All @@ -1742,26 +1747,21 @@ <h3>3.2 Visualising predominant pitch<a class="headerlink" href="#visualising-pr
261.6152630187851: &#39;M1&#39;,
523.2305260375701: &#39;M1&#39;,
1046.46105207514: &#39;M1&#39;,
73.4133009992652: &#39;P&#39;,
146.8266019985304: &#39;P&#39;,
293.6532039970608: &#39;P&#39;,
587.3064079941216: &#39;P&#39;,
1174.6128159882435: &#39;P&#39;,
48.9975: &#39;S&#39;,
97.995: &#39;S&#39;,
195.99: &#39;S&#39;,
391.98: &#39;S&#39;,
783.96: &#39;S&#39;,
54.997834212038505: &#39;R2&#39;,
109.99566842407701: &#39;R2&#39;,
219.99133684815402: &#39;R2&#39;,
439.98267369630804: &#39;R2&#39;,
879.965347392616: &#39;R2&#39;,
58.268175617345825: &#39;G2&#39;,
116.53635123469165: &#39;G2&#39;,
233.0727024693833: &#39;G2&#39;,
466.1454049387666: &#39;G2&#39;,
932.2908098775332: &#39;G2&#39;,
82.40364421278775: &#39;D2&#39;,
164.8072884255755: &#39;D2&#39;,
329.614576851151: &#39;D2&#39;,
659.229153702302: &#39;D2&#39;,
1318.458307404604: &#39;D2&#39;}
932.2908098775332: &#39;G2&#39;}
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -2200,7 +2200,7 @@ <h4>Fixing tonic errors in folded plots<a class="headerlink" href="#fixing-tonic
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[&lt;matplotlib.lines.Line2D at 0x7f27dc48da60&gt;]
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[&lt;matplotlib.lines.Line2D at 0x7f52d44094c0&gt;]
</pre></div>
</div>
<img alt="../_images/exploring-raga_110_1.png" src="../_images/exploring-raga_110_1.png" />
Expand Down Expand Up @@ -2317,7 +2317,7 @@ <h4>Fixing tonic errors in folded plots<a class="headerlink" href="#fixing-tonic
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[&lt;matplotlib.lines.Line2D at 0x7f27dc46a520&gt;]
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[&lt;matplotlib.lines.Line2D at 0x7f52d43fea90&gt;]
</pre></div>
</div>
<img alt="../_images/exploring-raga_120_1.png" src="../_images/exploring-raga_120_1.png" />
Expand Down Expand Up @@ -2666,8 +2666,8 @@ <h3>3.5 Pitch density across rāga<a class="headerlink" href="#pitch-density-acr
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Rītigauḷa: {&#39;R2&#39;, &#39;N2&#39;, &#39;M1&#39;, &#39;P&#39;, &#39;S&#39;, &#39;G2&#39;, &#39;D2&#39;}
Bhairavi: {&#39;R2&#39;, &#39;N2&#39;, &#39;M1&#39;, &#39;P&#39;, &#39;S&#39;, &#39;D1&#39;, &#39;G2&#39;, &#39;D2&#39;}
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Rītigauḷa: {&#39;P&#39;, &#39;D2&#39;, &#39;N2&#39;, &#39;M1&#39;, &#39;S&#39;, &#39;R2&#39;, &#39;G2&#39;}
Bhairavi: {&#39;P&#39;, &#39;D2&#39;, &#39;N2&#39;, &#39;M1&#39;, &#39;S&#39;, &#39;D1&#39;, &#39;R2&#39;, &#39;G2&#39;}
</pre></div>
</div>
</div>
Expand Down
11 changes: 7 additions & 4 deletions melodic_analysis/raga-recognition.html
Original file line number Diff line number Diff line change
Expand Up @@ -623,19 +623,22 @@ <h2> Contents </h2>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 0%| | 0.00/20.4M [00:00&lt;?, ?B/s]
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 23%|██▎ | 4.72M/20.4M [00:00&lt;00:00, 19.8MB/s]
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 23%|██▎ | 4.72M/20.4M [00:00&lt;00:00, 23.1MB/s]
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 75%|███████▍ | 15.2M/20.4M [00:00&lt;00:00, 50.8MB/s]
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 44%|████▎ | 8.91M/20.4M [00:00&lt;00:00, 25.3MB/s]
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>100%|██████████| 20.4M/20.4M [00:00&lt;00:00, 41.5MB/s]
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 85%|████████▍ | 17.3M/20.4M [00:00&lt;00:00, 40.9MB/s]
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>100%|██████████| 20.4M/20.4M [00:00&lt;00:00, 41.1MB/s]
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[2023-11-29 16:47:14,508] WARNING [compiam.melody.raga_recognition.deepsrgm.download_model:155] Files downloaded and extracted successfully.
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[2023-11-29 16:49:41,678] WARNING [compiam.melody.raga_recognition.deepsrgm.download_model:155] Files downloaded and extracted successfully.
</pre></div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit 6c22244

Please sign in to comment.