Next up, we’ll create a virtual environment to help manage our code and project. # Making a directory called adversarial-attacks mkdir adversarial-attacks # Navigating into the directory cd adversarial-attacks Creating a new virtual environmentīefore everything, let’s create a folder to contain all our code files. Install our extremely useful scientific notebook for writing and developing machine learning code: Juypter Notebook.Install our friendly neighborhood machine learning framework: TensorFlow and Keras, inside of our virtual environment.Create a new virtual environment to host our simple machine learning project.We can disable this feature and activate Conda manually every time we want to enter a conda environment by invoking the following command: conda config -set auto_activate_base false Using Conda to manage our projectĪfter installing Conda, we will use it to: ? Both OS: Conda will initialize itself by default, and activate the “base” Conda environment, but I personally don’t want to actually “ activate” the Conda environment whenever I open up a terminal. The green circle with the text “base” indicates that we have activated the Conda base environment This command actually creates a PowerShell configuration file inside your PowerShell user configuration folder, which usually lies inside ~\Documents\WindowsPowerShell\profile.ps1, and, in my case, puts the following code in the configuration file: #region conda initialize # !! Contents within this block are managed by 'conda init' !! (
0 Comments
Leave a Reply. |