{"id":3057,"date":"2018-08-15T10:22:00","date_gmt":"2018-08-15T08:22:00","guid":{"rendered":"https:\/\/test.viaboxx.de\/2018\/08\/15\/configuring-paperspace-ml-in-a-box-machine-to-run-a-deeplearning-showcase\/"},"modified":"2021-08-03T11:49:45","modified_gmt":"2021-08-03T11:49:45","slug":"configuring-paperspace-ml-in-a-box-machine-to-run-a-deeplearning-showcase","status":"publish","type":"post","link":"https:\/\/www.viaboxx.de\/en\/blog\/configuring-paperspace-ml-in-a-box-machine-to-run-a-deeplearning-showcase\/","title":{"rendered":"Configuring Paperspace ML-in-a-Box Machine to run a deeplearning-showcase"},"content":{"rendered":"\n<p class=\"has-medium-font-size\"><strong>Introduction<\/strong><\/p>\n\n\n\n<p><a href=\"http:\/\/www.paperspace.com\/\">Paperspace<\/a> is a cloud provider that specialises in GPU enabled machines. It has a set of publicly available images including the <em>ML-in-a-Box<\/em> machines. These machines can be provisioned on multiple types of hardware, for example P4000, P5000, and P6000 machines.<br>\nThe ML-in-a-Box image comes preconfigured with Keras, Tensorflow, Tensorboard, Cuda, and other standard machine learning frameworks. Unfortunately, that does not mean it is ready to plug and play any deeplearning application.<br>\nIn fact, while trying to run our own &#8220;deeplearning-showcase&#8221; project we ran into many problems that needed some &#8220;not so easy&#8221; solutions sometimes. In this blog post we will provide a walkthrough of how we provisioned the ML-in-a-Box machine and got our &#8220;deeplearning-showcase&#8221; up and running.<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Setting up the Paperspace account<\/strong><\/p>\n\n\n\n<p>The first step is to sign up to Paperspace and setting up a payment method. Head to the&nbsp;<a href=\"https:\/\/www.paperspace.com\/account\/signup\">sign-up page<\/a>&nbsp;on Paperspace&nbsp;and enter your details, then head to the <a href=\"https:\/\/www.paperspace.com\/console\/account\/billing\">payment methods page<\/a> &nbsp;and click the &#8220;Add Card&#8221; button. After filling up the details, you can add a PromoCode if you have one. Some PromoCodes are easily found online and will add 10$ to your account credit.<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Request access to ML-in-a-Box Machines<\/strong><\/p>\n\n\n\n<p>The second step is to request access to the ML-in-a-Box images and the GPU enabled machines. Make sure to do that as early as possible as it takes some time to approve your request. Head to the <a href=\"https:\/\/www.paperspace.com\/console\/machines\">console page<\/a> &nbsp;and click the green &#8220;NEW MACHINE&#8221; button, choose the server location (e.g. CA1, NY2, AMS1) then navigate to &#8220;Public Templates&#8221;. A pop-up window will appear with the title &#8220;Unavailable&#8221; asking you for the reason you want to use this machine, close this window for now and proceed to choose the ML-in-a-Box Ubuntu 16.04 Templates, then choose one of the hardware specs available (P4000, P5000, P6000).<\/p>\n\n\n\n<p>Once you did that, the same pop-up window from before will appear, read carefully and fill in the reason you want to have access for these machines and image Templates.<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Starting the ML-in-a-Box machine<\/strong><\/p>\n\n\n\n<p>Some time after requesting access (could be up to 24 hours) you will receive an email stating that you now have access to the requested service. Proceed again to the console page and follow the following steps to provision your machine :<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Go to the console page again&nbsp;and click the &#8220;NEW MACHINE&#8221; button.<\/li><li>Choose server location, OS (Public Templates &gt; ML-in-a-Box Ubuntu 16.04), and the hardware wanted (P5000 in our case).<\/li><li>Choose the cost calculation method ( hourly vs monthly).<\/li><li>Follow the Paperspace guide and choose all your other preferences, then click to Provision the new machine.<\/li><li>Navigate back to the console page again&nbsp;and wait for your machine to start, then hover over the machine info box and click &#8220;launch&#8221;.<\/li><li>Now you are in your machine.<\/li><\/ol>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Problems &amp; Error Codes<\/strong><\/p>\n\n\n\n<p>After starting our Ml-in-a-Box instance we tried to run our &#8220;deeplearning-showcase&#8221; using:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">python3 train_DenseNet121.py<\/pre>\n\n\n\n<p>But we faced a number of issues described below. All the issues revolved around the compatibility between Tensorflow on one side, and CUDA &amp; the machines CPU on the other.<\/p>\n\n\n\n<p>After solving all these problems we were able to run our showcase with 96% GPU utilisation and 97% GPU Memory utilisation. The details about the deeplearning showcase will be available in another blog post.<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Problem 1 : Unable&nbsp; to execute Tensorflow Callbacks<\/strong><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><strong>Problem Description:<\/strong><\/p>\n\n\n\n<p>While Tensorflow is trying to execute the callbacks, it errors out on a missing attribute in module &#8216;pandas.core.computation&#8217;. the problem is having an older version of Dask.<br>\nsee <a href=\"https:\/\/github.com\/pandas-dev\/pandas\/issues\/18355\">this Github Issue<\/a> for more details.<\/p>\n\n\n\n<p class=\"has-normal-font-size\"><strong>Stacktrace:<\/strong><\/p>\n\n\n\n<blockquote><div>&nbsp;File &#8220;train_DenseNet121.py&#8221;, line 50, in &lt;module&gt;<\/div><div>&nbsp; &nbsp; main()<\/div><div>&nbsp; File &#8220;train_DenseNet121.py&#8221;, line 30, in main<\/div><div>&nbsp; &nbsp; validation=dnn.valid_batches)<\/div><div>&nbsp; File &#8220;\/home\/paperspace\/Desktop\/deeplearning-showcase\/model.py&#8221;, line 116, in train<\/div><div>&nbsp; &nbsp; write_graph=False)<\/div><div>&nbsp; File &#8220;\/home\/paperspace\/Desktop\/deeplearning-showcase\/model.py&#8221;, line 305, in __init__<\/div><div>&nbsp; &nbsp; super(TrainValTensorBoard, self).__init__(training_log_dir, **kwargs)<\/div><div>&nbsp; File &#8220;\/home\/paperspace\/anaconda3\/lib\/python3.6\/site-packages\/keras\/callbacks.py&#8221;, line 709, in __init__<\/div><div>&nbsp; &nbsp; from tensorflow.contrib.tensorboard.plugins import projector<\/div><div>&nbsp; File &#8220;\/home\/paperspace\/anaconda3\/lib\/python3.6\/site-packages\/tensorflow\/contrib\/__init__.py&#8221;, line 22, in &lt;module&gt;<\/div><div>&nbsp; &nbsp; from tensorflow.contrib import bayesflow<\/div><div>&nbsp; File &#8220;\/home\/paperspace\/anaconda3\/lib\/python3.6\/site-packages\/tensorflow\/contrib\/bayesflow\/__init__.py&#8221;, line 28, in &lt;module&gt;<\/div><div>&nbsp; &nbsp; from tensorflow.contrib.bayesflow.python.ops import layers<\/div><div>&nbsp; File &#8220;\/home\/paperspace\/anaconda3\/lib\/python3.6\/site-packages\/tensorflow\/contrib\/bayesflow\/python\/ops\/layers.py&#8221;, line 26, in &lt;module&gt;<\/div><div>&nbsp; &nbsp; from tensorflow.contrib.bayesflow.python.ops.layers_dense_variational_impl import *<\/div><div>&nbsp; File &#8220;\/home\/paperspace\/anaconda3\/lib\/python3.6\/site-packages\/tensorflow\/contrib\/bayesflow\/python\/ops\/layers_dense_variational_impl.py&#8221;, line 30, in &lt;module&gt;<\/div><div>&nbsp; &nbsp; from tensorflow.contrib.distributions.python.ops import deterministic as deterministic_lib<\/div><div>&nbsp; File &#8220;\/home\/paperspace\/anaconda3\/lib\/python3.6\/site-packages\/tensorflow\/contrib\/distributions\/__init__.py&#8221;, line 37, in &lt;module&gt;<\/div><div>&nbsp; &nbsp; from tensorflow.contrib.distributions.python.ops.estimator import *<\/div><div>&nbsp; File &#8220;\/home\/paperspace\/anaconda3\/lib\/python3.6\/site-packages\/tensorflow\/contrib\/distributions\/python\/ops\/estimator.py&#8221;, line 21, in &lt;module&gt;<\/div><div>&nbsp; &nbsp; from tensorflow.contrib.learn.python.learn.estimators.head import _compute_weighted_loss<\/div><div>&nbsp; File &#8220;\/home\/paperspace\/anaconda3\/lib\/python3.6\/site-packages\/tensorflow\/contrib\/learn\/__init__.py&#8221;, line 92, in &lt;module&gt;<\/div><div>&nbsp; &nbsp; from tensorflow.contrib.learn.python.learn import *<\/div><div>&nbsp; File &#8220;\/home\/paperspace\/anaconda3\/lib\/python3.6\/site-packages\/tensorflow\/contrib\/learn\/python\/__init__.py&#8221;, line 23, in &lt;module&gt;<\/div><div>&nbsp; &nbsp; from tensorflow.contrib.learn.python.learn import *<\/div><div>&nbsp; File &#8220;\/home\/paperspace\/anaconda3\/lib\/python3.6\/site-packages\/tensorflow\/contrib\/learn\/python\/learn\/__init__.py&#8221;, line 25, in &lt;module&gt;<\/div><div>&nbsp; &nbsp; from tensorflow.contrib.learn.python.learn import estimators<\/div><div>&nbsp; File &#8220;\/home\/paperspace\/anaconda3\/lib\/python3.6\/site-packages\/tensorflow\/contrib\/learn\/python\/learn\/estimators\/__init__.py&#8221;, line 297, in &lt;module&gt;<\/div><div>&nbsp; &nbsp; from tensorflow.contrib.learn.python.learn.estimators.dnn import DNNClassifier<\/div><div>&nbsp; File &#8220;\/home\/paperspace\/anaconda3\/lib\/python3.6\/site-packages\/tensorflow\/contrib\/learn\/python\/learn\/estimators\/dnn.py&#8221;, line 30, in &lt;module&gt;<\/div><div>&nbsp; &nbsp; from tensorflow.contrib.learn.python.learn.estimators import dnn_linear_combined<\/div><div>&nbsp; File &#8220;\/home\/paperspace\/anaconda3\/lib\/python3.6\/site-packages\/tensorflow\/contrib\/learn\/python\/learn\/estimators\/dnn_linear_combined.py&#8221;, line 31, in &lt;module&gt;<\/div><div>&nbsp; &nbsp; from tensorflow.contrib.learn.python.learn.estimators import estimator<\/div><div>&nbsp; File &#8220;\/home\/paperspace\/anaconda3\/lib\/python3.6\/site-packages\/tensorflow\/contrib\/learn\/python\/learn\/estimators\/estimator.py&#8221;, line 48, in &lt;module&gt;<\/div><div>&nbsp; &nbsp; from tensorflow.contrib.learn.python.learn.learn_io import data_feeder<\/div><div>&nbsp; File &#8220;\/home\/paperspace\/anaconda3\/lib\/python3.6\/site-packages\/tensorflow\/contrib\/learn\/python\/learn\/learn_io\/__init__.py&#8221;, line 21, in &lt;module&gt;<\/div><div>&nbsp; &nbsp; from tensorflow.contrib.learn.python.learn.learn_io.dask_io import extract_dask_data<\/div><div>&nbsp; File &#8220;\/home\/paperspace\/anaconda3\/lib\/python3.6\/site-packages\/tensorflow\/contrib\/learn\/python\/learn\/learn_io\/dask_io.py&#8221;, line 26, in &lt;module&gt;<\/div><div>&nbsp; &nbsp; import dask.dataframe as dd<\/div><div>&nbsp; File &#8220;\/home\/paperspace\/anaconda3\/lib\/python3.6\/site-packages\/dask\/dataframe\/__init__.py&#8221;, line 3, in &lt;module&gt;<\/div><div>&nbsp; &nbsp; from .core import (DataFrame, Series, Index, _Frame, map_partitions,<\/div><div>&nbsp; File &#8220;\/home\/paperspace\/anaconda3\/lib\/python3.6\/site-packages\/dask\/dataframe\/core.py&#8221;, line 40, in &lt;module&gt;<\/div><div>&nbsp; &nbsp; pd.core.computation.expressions.set_use_numexpr(False)<\/div><div>AttributeError: module &#8216;pandas.core.computation&#8217; has no attribute &#8216;expressions&#8217;<\/div><\/blockquote>\n\n\n\n<p class=\"has-normal-font-size\"><strong>Solution:<\/strong><\/p>\n\n\n\n<p>Upgrade to latest version of Dask:<\/p>\n\n\n\n<pre class=\"wp-block-code lang-py prettyprint prettyprinted\"><code><span class=\"pln\" style=\"color: #303336;\"> pip install dask --upgrade <\/span><\/code><\/pre>\n\n\n\n<p><strong>Note:<\/strong> At the time of writing this post the latest version of Dask is&nbsp;0.18.2. After running the above command you should be able to see the following text as a conformation of Dask installation:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Successfully installed dask-0.18.2<\/p><\/blockquote>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Problem 2: Tensorflow unable to run&nbsp;AVX instructions on CPU<\/strong><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><strong>Problem Description:<\/strong><\/p>\n\n\n\n<p>The Machine has an older CPU that does not support AVX instructions. Following is a quote from official <a href=\"https:\/\/github.com\/tensorflow\/tensorflow\/blob\/master\/RELEASE.md#breaking-changes-1\">Tensorflow release notes:<\/a><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Breaking Changes<br>\nPrebuilt binaries will use AVX instructions. This may break TF on older CPUs.<\/p><\/blockquote>\n\n\n\n<p>For more details please take a look at this <a href=\"https:\/\/stackoverflow.com\/questions\/49094597\/illegal-instruction-core-dumped-after-running-import-tensorflow\">Stackoverflow Post<\/a>&nbsp;and this <a href=\"https:\/\/github.com\/tensorflow\/tensorflow\/issues\/17411\">GitHub issue<\/a>.<\/p>\n\n\n\n<p class=\"has-normal-font-size\"><strong>Stacktrace:<\/strong><\/p>\n\n\n\n<p>running the training using &#8220;python3 train_DenseNet121.py&#8221; will print out the following line:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Illegal instruction (core dumped)<\/p><\/blockquote>\n\n\n\n<p>It could be that no more details or stacktrace is visible.<\/p>\n\n\n\n<p class=\"has-normal-font-size\"><strong>Solution:<\/strong><\/p>\n\n\n\n<p>revert TensorFlow and the TensorFlow GPU from versions 1.8 to versions 1.5<\/p>\n\n\n\n<pre class=\"wp-block-code lang-py prettyprint prettyprinted\"><code><span class=\"pln\" style=\"color: #303336;\">pip3 uninstall tensorflow <\/span>\n<span class=\"pln\" style=\"color: #303336;\">pip3 uninstall tensorflow-gpu <\/span>\n<span class=\"pln\" style=\"color: #303336;\">pip3 install tensorflow==1.5 <\/span>\n<span class=\"pln\" style=\"color: #303336;\">pip3 install tensorflow-gpu==1.5 <\/span><\/code><\/pre>\n\n\n\n<p>To test the installation run the following commands to print out the current tensorflow and tensorflow-gpu versions<\/p>\n\n\n\n<pre class=\"wp-block-preformatted lang-py prettyprint prettyprinted\"><code><span class=\"pln\">python3 <\/span><span class=\"pun\">-<\/span><span class=\"pln\">c <\/span><span class=\"str\">'import tensorflow as tf; print(tf.__version__)'\n<span class=\"pln\">python3 <\/span><span class=\"pun\">-<\/span><span class=\"pln\">c <\/span>'import tensorflow-gpu as tf-gpu; print(tf-gpu.__version__)' <\/span><\/code><code><\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Problem 3: Unable to run Tensorflow 1.8 with Cuda 9.1<\/strong><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><strong>Problem Description:<\/strong><\/p>\n\n\n\n<p>TensorFlow and TesnorFlow GPU versions 1.5&nbsp; and later are not compatible with Cuda 9.1.<br>\nlooking at <a href=\"https:\/\/github.com\/tensorflow\/tensorflow\/blob\/master\/RELEASE.md#breaking-changes-1\">TensorFlow Release Notes<\/a> again shows that the binaries are built against Cuda 9.0<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Breaking Changes<br> Prebuilt binaries are now built against CUDA 9.0 and cuDNN 7.<\/p><\/blockquote>\n\n\n\n<p class=\"has-normal-font-size\"><strong>Stacktrace:<\/strong><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>ImportError: Could not find &#8216;cudart64_90.dll&#8217;. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Download and install CUDA 9.0 from this URL: https:\/\/developer.nvidia.com\/cuda-toolkit<\/p><\/blockquote>\n\n\n\n<p class=\"has-normal-font-size\"><strong>Solution:<\/strong><\/p>\n\n\n\n<p>revert back to Cuda 9.0 following <a href=\"https:\/\/yangcha.github.io\/CUDA90\/\">this guide.<\/a><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Uninstall old version of CUDA Toolkit:\n<pre class=\"lang-py prettyprint prettyprinted\"><code><span class=\"pln\" style=\"color: #303336;\"> sudo apt-get purge cuda <\/span>\n<span class=\"pln\" style=\"color: #303336;\"> sudo apt-get purge cuda <\/span>\n<span class=\"pln\" style=\"color: #303336;\"> sudo apt-get purge libcudnn6 <\/span>\n<span class=\"pln\" style=\"color: #303336;\"> sudo apt-get purge libcudnn6-dev <\/span><\/code><\/pre>\n<\/li><li>Install CUDA Toolkit 9.0 and cuDNN 7.0:\n<pre class=\"lang-py prettyprint prettyprinted\"><code><span class=\"pln\" style=\"color: #303336;\"> wget http:\/\/developer.download.nvidia.com\/compute\/cuda\/repos\/ubuntu1604\/x86_64\/cuda-repo-ubuntu1604_9.0.176-1_amd64.deb <\/span>\n<span class=\"pln\" style=\"color: #303336;\"> wget http:\/\/developer.download.nvidia.com\/compute\/machine-learning\/repos\/ubuntu1604\/x86_64\/libcudnn7_7.0.5.15-1+cuda9.0_amd64.deb <\/span>\n<span class=\"pln\" style=\"color: #303336;\"> wget http:\/\/developer.download.nvidia.com\/compute\/machine-learning\/repos\/ubuntu1604\/x86_64\/libcudnn7-dev_7.0.5.15-1+cuda9.0_amd64.deb <\/span>\n<span class=\"pln\" style=\"color: #303336;\"> wget http:\/\/developer.download.nvidia.com\/compute\/machine-learning\/repos\/ubuntu1604\/x86_64\/libnccl2_2.1.4-1+cuda9.0_amd64.deb <\/span>\n<span class=\"pln\" style=\"color: #303336;\"> wget http:\/\/developer.download.nvidia.com\/compute\/machine-learning\/repos\/ubuntu1604\/x86_64\/libnccl-dev_2.1.4-1+cuda9.0_amd64.deb <\/span>\n<span class=\"pln\" style=\"color: #303336;\"> sudo dpkg -i cuda-repo-ubuntu1604_9.0.176-1_amd64.deb <\/span>\n<span class=\"pln\" style=\"color: #303336;\"> sudo dpkg -i libcudnn7_7.0.5.15-1+cuda9.0_amd64.deb <\/span>\n<span class=\"pln\" style=\"color: #303336;\"> sudo dpkg -i libcudnn7-dev_7.0.5.15-1+cuda9.0_amd64.deb <\/span>\n<span class=\"pln\" style=\"color: #303336;\"> sudo dpkg -i libnccl2_2.1.4-1+cuda9.0_amd64.deb <\/span>\n<span class=\"pln\" style=\"color: #303336;\"> sudo dpkg -i libnccl-dev_2.1.4-1+cuda9.0_amd64.deb <\/span>\n<span class=\"pln\" style=\"color: #303336;\"> sudo apt-get update <\/span>\n<span class=\"pln\" style=\"color: #303336;\"> sudo apt-get install cuda=9.0.176-1 <\/span>\n<span class=\"pln\" style=\"color: #303336;\"> sudo apt-get install libcudnn7-dev <\/span>\n<span class=\"pln\" style=\"color: #303336;\"> sudo apt-get install libnccl-dev <\/span><\/code><\/pre>\n<\/li><li>Reboot the system to load the NVIDIA drivers:\n<pre class=\"lang-py prettyprint prettyprinted\"><code><span class=\"pln\" style=\"color: #303336;\"> reboot <\/span><\/code><\/pre>\n<\/li><li>Set up PATH and LD_LIBRARY_PATH variables. You can also add them to the end of .bashrc file:\n<pre class=\"lang-py prettyprint prettyprinted\"><code><span class=\"pln\" style=\"color: #303336;\"> export PATH=\/usr\/local\/cuda-9.0\/bin${PATH:+:${PATH}} <\/span>\n<span class=\"pln\" style=\"color: #303336;\"> export LD_LIBRARY_PATH=\/usr\/local\/cuda-9.0\/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} <\/span><\/code><\/pre>\n<\/li><\/ul>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Summary and Conclusion<\/strong><\/p>\n\n\n\n<p>Paperspace provides a good argument to be considered as a GPU Cloud Machines provider, but their ML-in-a-Box instances are not Plug &amp; Play ready. However, investing some effort and time in these machines can yield into a very efficient environment to run DeepLearning applications. This blog post serves as a collection of information and resources to try and reduce the setup time needed for anyone considering to do DeepLearning on Paperspaces&#8217; ML-in-a-Box instances.<\/p>\n\n\n\n<p class=\"has-normal-font-size\"><strong>image source<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/www.flickr.com\/photos\/159124985@N05\/37845654022\">Title image<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Paperspace is a cloud provider that specialises in GPU enabled machines. It has a set of publicly available images including the ML-in-a-Box machines. These machines [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":6716,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[76,98,89],"tags":[],"class_list":["post-3057","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-code","category-projects","category-research"],"uagb_featured_image_src":{"full":["https:\/\/www.viaboxx.de\/wp-content\/uploads\/2018\/08\/Blog-Post-configuring-paperspace-ml-in-a-box-machine-to-run-a-deeplearning-showcase.jpg",2200,700,false],"thumbnail":["https:\/\/www.viaboxx.de\/wp-content\/uploads\/2018\/08\/Blog-Post-configuring-paperspace-ml-in-a-box-machine-to-run-a-deeplearning-showcase-150x150.jpg",150,150,true],"medium":["https:\/\/www.viaboxx.de\/wp-content\/uploads\/2018\/08\/Blog-Post-configuring-paperspace-ml-in-a-box-machine-to-run-a-deeplearning-showcase-300x95.jpg",300,95,true],"medium_large":["https:\/\/www.viaboxx.de\/wp-content\/uploads\/2018\/08\/Blog-Post-configuring-paperspace-ml-in-a-box-machine-to-run-a-deeplearning-showcase-768x244.jpg",768,244,true],"large":["https:\/\/www.viaboxx.de\/wp-content\/uploads\/2018\/08\/Blog-Post-configuring-paperspace-ml-in-a-box-machine-to-run-a-deeplearning-showcase-1024x326.jpg",1024,326,true],"1536x1536":["https:\/\/www.viaboxx.de\/wp-content\/uploads\/2018\/08\/Blog-Post-configuring-paperspace-ml-in-a-box-machine-to-run-a-deeplearning-showcase-1536x489.jpg",1536,489,true],"2048x2048":["https:\/\/www.viaboxx.de\/wp-content\/uploads\/2018\/08\/Blog-Post-configuring-paperspace-ml-in-a-box-machine-to-run-a-deeplearning-showcase-2048x652.jpg",2048,652,true]},"uagb_author_info":{"display_name":"Haitham Bjanthalah","author_link":"https:\/\/www.viaboxx.de\/en\/blog\/author\/haitham-bjanthalahviaboxx-de\/"},"uagb_comment_info":0,"uagb_excerpt":"Introduction Paperspace is a cloud provider that specialises in GPU enabled machines. It has a set of publicly available images including the ML-in-a-Box machines. These machines [&hellip;]","_links":{"self":[{"href":"https:\/\/www.viaboxx.de\/en\/wp-json\/wp\/v2\/posts\/3057"}],"collection":[{"href":"https:\/\/www.viaboxx.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.viaboxx.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.viaboxx.de\/en\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.viaboxx.de\/en\/wp-json\/wp\/v2\/comments?post=3057"}],"version-history":[{"count":5,"href":"https:\/\/www.viaboxx.de\/en\/wp-json\/wp\/v2\/posts\/3057\/revisions"}],"predecessor-version":[{"id":6718,"href":"https:\/\/www.viaboxx.de\/en\/wp-json\/wp\/v2\/posts\/3057\/revisions\/6718"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.viaboxx.de\/en\/wp-json\/wp\/v2\/media\/6716"}],"wp:attachment":[{"href":"https:\/\/www.viaboxx.de\/en\/wp-json\/wp\/v2\/media?parent=3057"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.viaboxx.de\/en\/wp-json\/wp\/v2\/categories?post=3057"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.viaboxx.de\/en\/wp-json\/wp\/v2\/tags?post=3057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}