It is always better to use a GPU for deep learning. GPU can reduce the training time speed so that we can try different parameters and architecture faster. Unfortunately configuring a GPU on Linux sometimes is tricky. I tried many different methods, and I was not successful with many of them until I found this blog post. it described the process clearly.
Anaconda is the heart of the data science stack. Especially when you want to draft or do some experiments with your data having Anaconda and Jupyter notebook is a big help. We have to update these tools once in a while. To update the Anaconda On Windows 10 you can run this code:
conda update anaconda-navigator
If Conda is not in your path, then you need to use the full path. It is in Anaconda’s main folder scripts:
so the code to run would be:
C:\Users\<Username>\Scripts\conda update anaconda-navigator
Don’t forget the replace the <usermame> with your username.
to update all the modules and packages also you can run :
C:\Users\<Username>\Anaconda3\Scripts\conda update --all
to upgrade Python version also you can run:
conda update python
I run the terminal as administrator to prevent any permission problems.
I tried to use Anaconda Navigator on Ubuntu 18.04 and I face a simple problem. There are some problems that might look so simple but finding a solution for them might become a time-consuming task especially when you are in a hurry to do your task.
Today I faced one of those problems. I wanted to update Anaconda on Ubuntu 18.04 and I got this error:
PermissionError(13, 'Permission denied')
So I tried to run with just a sudo and it didn’t work. After searching a while I got to this solution which was worked perfectly for both conda and Anaconda navigator.
sudo env "PATH=$PATH" conda update conda
This is going to be an introduction to a series of posts on machine learning for software engineers. Since my last post on my blog, my life has changed dramatically. It has been really difficult but so far the result was worth it. One of the interesting thing that turned out to be the result of my study is to push me to learn machine learning and deep learning.
I was a software engineer or a software project manager for the majority of my career and now that I’m doing my PhD research on machine learning and deep learning, I thought it might be a good idea to share my experience here. These notes would be mostly my personal notes to remember what I have learnt during my research.