A small framework mimics PyTorch using CuPy or NumPy

CuPyTorch是一个小型PyTorch,名字来源于: 不同于已有的几个使用NumPy实现PyTorch的开源项目,本项目通过CuPy支持cuda计算 发音与Cool PyTorch接近,因为使用不超过1000行纯Python代码实现PyTorch确实很cool CuPyTorch支持numpy和cupy两种计算后端,实现大量PyTorch常用功能,力求99%兼容PyTorch语法语义,并能轻松扩展,以下列出已经完成的功能: cloc的代码统计结果: Language files blank comment code Python 22 353 27 992 自动微分示例:

Read more

Data App Performance Tests

My hypothesis is that The different architectures of Dash, Panel and Streamlit makes a difference if you want to create snappy applications. Framework Server Communication Protocol Built in state Update cycle Dash Flask http No Specific code reruns and UI updates Panel Tornado web sockets Yes, Automatic Specific code reruns and UI updates Streamlit Tornado web sockets Yes, Manual Rerun script top to bottom with caching I want to test that hypothesis and elaborate on it. Test Setup In order […]

Read more

Python script to check files for earrape

python script to check files for earrape automatically installs dependencies: script requires ffmpeg to be installed on system or ffmpeg executable where script is located, you can get it here: https://ffmpeg.org/download.html one day i was bored of dumb jokes in discord servers (video/audio files with earrape), i could not trust anybody, so i wrote this to be safe this is no joke, earrape could potentially damage audio equipment or even cause hearing loss GitHub View Github    

Read more

A simple project manager for conda, windows 10 and vscode

A simple project manager for conda, windows 10 and vscode Installation You must have anaconda3 on your path and vscode function Workon (){ python -m workon $args } Add this function to $PROFILE file using powershell Usage python workon –help python workon show python workon workon PROJECT python workon create PROJECT -d PATH -p PYTHON python workon remove PROJECT Contributing Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. […]

Read more

Pianote – An application that helps musicians practice piano ear training

Pianote is an application that helps musicians practice piano ear training Instructions Download the github repository and install Python if necessary Run pip install pygame to install the pygame package Running Main.py will start the application After clicking “Play Game”, press the “New Note” button to listen to a new piano note Then, match the piano note to the correct key by pressing on the piano keyboard The accuracy meter will show how close your chosen note is to the […]

Read more

Lets you store unlimited files to cloud for free

AirDrive AirDrive lets you store unlimited files to cloud for free. Upload & download files from your personal drive at any time using its super-fast API. Installation pip install airdrive Import from airdrive import AirDrive Creating New Drive drive = AirDrive.create(username: str, password: str) Logging In drive = AirDrive.login(username: str, password:str) Methods files returns list of file names existing in the drive download(file_name: str) downloads file from the drive download_all downloads all files from the drive upload(local_file_path: str, remote_file_name: str) […]

Read more

Python News: What’s New From December 2021?

In December 2021, the fourth Python steering council was elected, as usual with a mix of new and returning members. Python’s release-cycle circle of life kept spinning, with new iterations of both Python 3.10 and the upcoming Python 3.11 released. At the same time, the popular Python 3.6 reached end-of-life and will no longer be supported. Amid this flurry of activity, developers from all over had some fun over the holidays by solving the annual Advent of Code puzzles. Let’s […]

Read more

AI Face Mesh: A simple face mesh detection program based on Artificial intelligence

AI Face Mesh: This is a simple face mesh detection program based on Artificial Intelligence which made with Python. It’s able to detect 468 different landmarks on faces. Outcome: Watch the Outcome. What Have I Done: I’ve made this face mesh detection program using Python. I’ve used OpenCV, MediaPipe and Math module for made this program. OpenCV is a library used for computer vision applications. With help of OpenCV, we can build an enormous number of applications that work better […]

Read more
1 22 23 24 25 26 49