{"id":451,"date":"2021-10-01T10:54:18","date_gmt":"2021-10-01T10:54:18","guid":{"rendered":"https:\/\/www.creatis.insa-lyon.fr\/~grenier\/?p=451"},"modified":"2021-11-09T16:58:12","modified_gmt":"2021-11-09T16:58:12","slug":"using-jupyter-lab-and-tensorflow-within-a-conda-environment","status":"publish","type":"post","link":"https:\/\/www.creatis.insa-lyon.fr\/~grenier\/?p=451","title":{"rendered":"Using Jupyter Lab and Tensorflow within a conda environment"},"content":{"rendered":"\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\">\n<p>1- before launching jupyter, check the environment kernel<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>$ <code>jupyter kernelspec list<\/code><\/li><\/ul>\n\n\n\n<p>2- if nothing appears looking &#8220;TF2.6&#8221;, add the kernel to jupyter by:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>$ <code>ipython kernel install --name \"TF2.6\" --user<\/code><\/li><\/ul>\n\n\n\n<p>3- now you should see TF2.6 with the command:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>$ <code>jupyter kernelspec list<\/code><\/li><\/ul>\n\n\n\n<p>4 -you can repeat the above kernel installation for other kernels (pytorch). When finished, you can launch jupyter lab:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>$ <code>jupyter lab<\/code><\/li><\/ul>\n\n\n\n<p><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>1- before launching jupyter, check the environment kernel $ jupyter kernelspec list 2- if nothing appears looking &#8220;TF2.6&#8221;, add the kernel to jupyter by: $ ipython kernel install &#8211;name &#8220;TF2.6&#8221; &#8211;user 3- now you should see TF2.6 with the command: $ jupyter kernelspec list 4 -you can repeat the above kernel installation for other kernels [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"templates\/template-full-width.php","format":"standard","meta":{"footnotes":""},"categories":[5,18,6,4],"tags":[],"class_list":["post-451","post","type-post","status-publish","format-standard","hentry","category-computer-science","category-deep-learning-teaching","category-image-processing","category-teaching"],"_links":{"self":[{"href":"https:\/\/www.creatis.insa-lyon.fr\/~grenier\/index.php?rest_route=\/wp\/v2\/posts\/451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.creatis.insa-lyon.fr\/~grenier\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.creatis.insa-lyon.fr\/~grenier\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.creatis.insa-lyon.fr\/~grenier\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creatis.insa-lyon.fr\/~grenier\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=451"}],"version-history":[{"count":3,"href":"https:\/\/www.creatis.insa-lyon.fr\/~grenier\/index.php?rest_route=\/wp\/v2\/posts\/451\/revisions"}],"predecessor-version":[{"id":526,"href":"https:\/\/www.creatis.insa-lyon.fr\/~grenier\/index.php?rest_route=\/wp\/v2\/posts\/451\/revisions\/526"}],"wp:attachment":[{"href":"https:\/\/www.creatis.insa-lyon.fr\/~grenier\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creatis.insa-lyon.fr\/~grenier\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creatis.insa-lyon.fr\/~grenier\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}