Setting up an env.yaml to run the tensorflow lab notebooks locally

Course2: Week1: Optional Lab: C2_W1_Lab01_Neurons_and_Layers

Is there a env.yaml I can use to build a conda environment to run this tensorflow lab locally?

The courses here do not provide that kind of information, but if you already know about conda then you probably have the technical ā€œchopsā€ to do it yourself. Here’s a thread which will get you started down that road. Actually scanning through that thread again (sorry, it’s been a while), I see that one of the respondents included an env.yaml file, but that thread is 4 years old. The assignments do get updated occasionally so you might be better off generating your own based on the current ā€œstate of playā€. Also note that not every assignment has the same setup and that thread is from one of the DLS courses.

Thanks for getting back to me so promptly, I’m new here and don’t know what’s what yet. I’ll set up an env for myself, it was the markup for math formulars etc I’m not familiar with but I got most of it working well enough.

Welcome to the party! There may be other browser plugins for LaTeX (if that’s what you were referring to), but I think the most common one is MathJax. :nerd_face:

1 Like

So I have created a conda env that works for ā€˜Advanced Algorithms’ i’ve only tested for weeks 1 & 2. To replicate do the following…
create a new env :-

conda create -n tf-cpu tensorflow-cpu
conda activate tf-cpu
conda install jupyter notebook ipympl mathjax matplotlib scikit-learn

this env ā€˜tf-cpu’ works and will run the course labs locally on your PC. You can install any additional packages as needed in future courses/weeks.

I couldn’t get the course labs to work using tensorflow-gpu

1 Like

Great! Thanks for confirming the instructions that worked for you. That will help other people who have the same question.