In this post, I gonna show you how to get information about your RAM memory in windows 10.
We just need to run some commands to get information about name, memory size, type, etc. These commands may help you to decide which memory should you buy.
Press windows+R to open and write cmd:
This gonna opens the CMD prompt.
To list all the memory details, then use these steps:
Hello fellows !! This post gonna be short.
To install Julia into Jupyter Notebook, you need the following:
Installing Jupyter Notebook
To install Jupyter, you need Python first. Once you have Python on your computer, install Jupyter using Pip or Conda.
To install with pip just run:pe:
pip install notebook
First, you need to install Anaconda on your computer. To do this, you can check the installing guide from the website in any OS here.
Then, you need to install Jupyter just running:
conda install -c conda-forge notebook
First, create your account and lookup for Networks and content.
Select that option and start to lookup for your preferred domain:
On this occasion, I gonna explain and show some examples and insights at the moment when you need to choose a representation (visualization) to show your information.
Hi, today I gonna show you how to create a custom Dataloader for your custom dataset composed of a set (X,y) usually used in classification/regression tasks.
When we work with Pytorch, we know about the module
dataset which has CIFAR, MNIST, etc. But what happens when we want to upload our dataset to train a model wanting to get the same object type of DataLoader as the default datasets?
There are several methods/function to approach this, but in my opinion, I’ll show you two:
Use the TensorDataset Class:
dataset_train = TensorDataset( torch.tensor(train_x), torch.tensor(train_y) )
dataset_test = TensorDataset( torch.tensor(test_x)…
Usually, when we install scipy package via conda, conda installs the last version of that package (currently is 1.5.3)
conda install scipy
The first one is using pip or conda selecting the specific version to install:
pip install scipy==1.1.0
conda install scipy==1.1.0
The second one is just replacing the function with PIL like the following:
You have this code to resize some image:
from scipy.misc import imreadimg_resized = imresize(img, (width, height)), interp='bicubic', mode='F')
To solve the problem presented, you just need to change the library and some code like:
from PIL import Image
import numpy as npimg_resized= np.array(Image.fromarray(obj=img, mode='F').resize(size=(width, height), resample=Image.BICUBIC)
I hope you enjoy this post :D :D
For windows users, is not common to use the
bash command in the command prompt. Also, in Git bash (the git console with some Linux commands) in Windows. For a Linux user, change to windows could be a bit annoying when we try to make some changes in the system via commands instead of the GUI application.
One example is the fastly way to use python/conda/git in the same console. In this case Git Bash. But when you install Anaconda in Windows, you should open a dedicated command prompt to use Anaconda. In addition, a dedicated console called Git Bash…
Usually, when facing a situation where we need to perform a long-running task on a remote machine/server. To do this, we usually use ssh to make a connection to the remote machine and write/execute some lines of code. But, our ssh session won’t be alive forever, it has a limit of time terminating and (in too many cases) losing all information or processing performed.
For these cases, today I present a solution. A very helpful tool called screen allows us to resume sessions. So, Screen is a tool developed by GNU is defined as a terminal multiplexer. …