Skip to content

Easy way to remove CUDA

Easy way to remove CUDA

Last Updated on 2021-01-20 by Clay

Cryptocurrency mining equipment, isometric ethereum digital currency extract, blockchain system dark blue vector illustration

Introduction

If you are familiar with the deep learning and its environment, you may often hear "CUDA". Before we starting to train our model, maybe we need to install GPU driver, CUDA and cuDNN toolkits. They can make our training have the best effect.

Read More »Easy way to remove CUDA

[Python] Convert Glove model to a format Gensim can read

Last Updated on 2021-01-02 by Clay

Python is the most popular programming language!

Introduction

Those who are familiar with natural language processing (NLP) must be familiar with Glove and Python package Gensim.

GloveGlobal Vectors for Word Representation)is a paper published by Stanford NLP Group, and it is also an open source pre-trained word embedding model. The Glove that you often see on the Internet now refers to this open source pre-trained model.

Gensim is a Python implementation of the Word2Vec paper proposed by Google in 2013, allowing us to easily train the word vector model using our own corpus via this package.

Read More »[Python] Convert Glove model to a format Gensim can read

[PyTorch] A progress bar using Keras style: pkbar

Last Updated on 2020-12-29 by Clay

PyTorch is a famous Python deep learning framework

Introduction

I have been studying about pointer-generator network lately, and I found a package "pkbar"can let us to use keras style progress bar in our tasks.

In fact, it can be used not only in the code of PyTorch framework but also in any loop.

Read More »[PyTorch] A progress bar using Keras style: pkbar

Using Python package gkeepapi to access Google Keep

Last Updated on 2020-12-17 by Clay


Introduction

Today I found a third-party Python package gkeepapi about Google Keep that looks very convenient and is not officially authorized.

The package allows us to read the content of Google Keep of our account, and also allows us to automatically upload text, notes and others things to Google Keep.

Read More »Using Python package gkeepapi to access Google Keep

Quickly generate word cloud Python module: wordcloud

Last Updated on 2020-12-07 by Clay


Introduction

word-cloud is a very famous word in natural language processing domain. At first I thought it was just to calculate the frequency of the vocabulary and display the high-frequency words large.

But not only that, the shapes and the styles of characters are all learned not as simple as I thought.

I am a person who likes new things, so I came to study the wordcloud module in Python today and record my experience here.

Read More »Quickly generate word cloud Python module: wordcloud

The most convenient features of Flutter: Hot Reload

Last Updated on 2020-12-03 by Clay


Introduction

If you talk about Flutter, everyone will think of the following features:

  • Programming language is Dart
  • Developed by Google, the community is actively
  • One set of code compilation for multiple platforms

I am currently studying. What I want to share today is a very convenient function in Flutter development: Hot Reload.

Read More »The most convenient features of Flutter: Hot Reload

Use Python PIL module to merge two images

Last Updated on 2020-11-30 by Clay


Introduction

Recently, because I have been studying the interface of the program, I got many strange problems.

I want to record today is how to merge two pictures. I found that if I simply use the composite() function in PIL, the second picture will be overwritten by the first picture. So, I started to try convert the background of the second picture to transparent.

After converting the image to a transparent background, the result of the merging is quite natural to me.

I will start to introduce how to merge two pictures in below.

Read More »Use Python PIL module to merge two images
Exit mobile version