Build a Bulk File Rename Tool With Python and PyQt

Say you need to rename multiple files in your personal folder using a specific naming pattern. Doing that manually can be time-consuming and error-prone. So, you’re thinking of automating the file renaming process by building your own bulk file rename tool using Python. If so, then this tutorial is for you. In this tutorial, you’ll learn how to: Create the GUI for a bulk file rename tool using Qt Designer and PyQt Use PyQt threads to offload the file renaming […]

Read more

SMS Spam Detection Using LSTM – A Hands On Guide!

Introduction  In today’s world, almost everyone is using a mobile phone and all of them will receive messages(SMS/ email) daily on their phone. But the main thing is that many of the received messages will be spam and only a few of them are ham or required messages. In this article, we are going to create an SMS spam detection model which will help you to find whether an SMS is spam or not using LSTM. About Dataset: Here we […]

Read more

A simple bot to extract text from images with python

Text from image (OCR) A bot that extract text from images using the Tesseract OCR. Usage What do I need? A AWS key configured locally, see here. NodeJS. I tested with v8.9.0. A Telegram account. Installing # Install the Serverless Framework $ npm install serverless -g # Install the necessary plugins $ npm install # Get a bot from Telegram, sending this message to @BotFather $ /newbot # Put the token received into a file called serverless.env.yml, like this $ […]

Read more

An open-source Python Library for materials structural search

PyChemia PyChemia is an open-source Python Library for materials structural search. The purpose of the initiative is to create a method agnostic framework for materials discovery and design using a variety of methods from Minima Hoping to Soft-computing based methods. PyChemia is also a library for data-mining, using several methods to discover interesting candidates among the materials already processed. The core of the library is the Structure python class, it is able to describe periodic and non-periodic structures. As the […]

Read more

Using the Python or Operator

There are three Boolean operators in Python: and, or, and not. With them, you can test conditions and decide which execution path your programs will take. In this tutorial, you’ll take a deep dive into the Python or operator and how to use it. By the end of this course, you’ll have learned: How the Python or operator works How to use the Python or operator in Boolean and non-Boolean contexts What kind of programming problems you can solve by […]

Read more

Hands-on Experience With GPT3!

This article was published as a part of the Data Science Blogathon. Yes, you read it right. In this article, I will give you a hands-on experience of GPT3. I was lucky enough to get access to private beta after waiting for 8 months 🙂 Introduction Last week I was exploring with GPT-3. I was thinking I will learn it in a data it two. But boy it took me a lot of time to learn it. I was very surprised […]

Read more

A Vision Transformer in ConvNet’s Clothing for Faster Inference

LeViT This repository contains PyTorch evaluation code, training code and pretrained models for LeViT. They obtain competitive tradeoffs in terms of speed / precision: For details see LeViT: a Vision Transformer in ConvNet’s Clothing for Faster Inference by Benjamin Graham, Alaaeldin El-Nouby, Hugo Touvron, Pierre Stock, Armand Joulin, Hervé Jégou and Matthijs Douze. If you use this code for a paper please cite: @article{graham2021levit, title={LeViT: a Vision Transformer in ConvNet’s Clothing for Faster Inference}, author={Benjamin Graham and Alaaeldin El-Nouby and […]

Read more

Visualize tensors in a plain Python REPL using Sparklines

sparkvis This is a library for visualizing tensors in a plain Python REPL using sparklines. I was sick of having to install jupyter on servers just to see a damn tensor. E.g. the FFT of MNIST looks like this: Quickstart pip3 install -U sparkvis python3 from sparkvis import sparkvis as vis vis(foo) foo can be a torch tensor, tf tensor, numpy array, etc. It supports anything with a .numpy() method. vis(a, b) will put ‘a’ and ‘b’ side by side. […]

Read more

A Simple modular tool to fetch and parse data related to the stock market

stonks-o-fetcher A Simple modular tool to fetch and parse data related to the stock market. Getting started For the moment the only source is this repository, so to get the program you have to clone it locally. Requirements Python >3.6 The program is tested only on a linux environment (WSL 1 and debian) but shouldtechnically work on windows too I think. Installation After cloning and entering the root of the project pip install . If you are not on python […]

Read more

Multi-Modal Fusion Transformer for End-to-End Autonomous Driving

transfuser This repository contains the code for the CVPR 2021 paper Multi-Modal Fusion Transformer for End-to-End Autonomous Driving. If you find our code or paper useful, please cite @inproceedings{Prakash2021CVPR, author = {Prakash, Aditya and Chitta, Kashyap and Geiger, Andreas}, title = {Multi-Modal Fusion Transformer for End-to-End Autonomous Driving}, booktitle = {Conference on Computer Vision and Pattern Recognition (CVPR)}, year = {2021} } Setup Install anaconda wget https://repo.anaconda.com/archive/Anaconda3-2020.11-Linux-x86_64.sh bash Anaconda3-2020.11-Linux-x86_64.sh source ~/.profile Clone the repo and build the environment git clone […]

Read more
1 590 591 592 593 594 874