A simple API that will return a key-value pair of randomly generated UUID
A simple API that will return a key-value pair of randomly generated UUID. Key will be a timestamp and value will be UUID. While the server is running, whenever the API is called, it should return all the previous UUIDs ever generated by the API alongside a new UUID. Live https://simple-api-v4.herokuapp.com/api Snapshot GitHub View Github
Read moreSimple mathematical operations on image, point and surface layers
This package provides a GUI interfrace for simple mathematical operations on image, point and surface layers. addition subtraction multiplication division logical and, or, xor z-projection (mean and sum) Operations can be peformed on a single layer or between Image layers (functionaly pending for Surface and Point layers), for example adding one layer to another. When performing operations on two images of different sizes, the result will be the size of the smallest of the two images. Installation You can install […]
Read moreA complete, self-contained example for training ImageNet at state-of-the-art speed with FFCV
A minimal, single-file PyTorch ImageNet training script designed for hackability. Run train_imagenet.py to get… …high accuracies on ImageNet …with as many lines of code as the PyTorch ImageNet example …in 1/10th the time. Results Train models more efficiently, either with 8 GPUs in parallel or by training 8 ResNet-18’s at once. See benchmark setup here: https://docs.ffcv.io/benchmarks.html. Citation If you use this setup in your research, cite: @misc{leclerc2022ffcv, author = {Guillaume Leclerc and Andrew Ilyas and Logan Engstrom and Sung Min […]
Read morePython implementation of the Lox language from Robert Nystrom’s Crafting Interpreters
Python implementation of the Lox language from Robert Nystrom’s Crafting Interpreters. . This only implements the tree-walking interpreter in Part 1. Notes This is not a teaching exercise. I provide no commentary beyond the code itself and will likely implement using parser-generator tools. — Dave GitHub View Github
Read moreDisplays market info for LUNI/LUNA on the Terra Blockchain (Webscrape method currently scraping CoinMarketCap)
Displays market info for LUNI/LUNA on the Terra Blockchain (Webscrape method currently scraping CoinMarketCap). Will evolve over time 🙂 pip3 install bs4 discord dotenv flask requests Discord Developer Portal: https://discord.com/developers/applications/ Set up your bot in the given link above and click “Bot” on the left menu to see the “Token” section underneath the Username input. Keep this in mind, as you will need this later. This is a private key to your Bot, so make sure to keep it safe/hidden, […]
Read moreBuild a Dice-Rolling Application With Python
Building small projects, like a text-based user interface (TUI) dice-rolling application, will help you level up your Python programming skills. You’ll learn how to gather and validate the user’s input, import code from modules and packages, write functions, use for loops and conditionals, and neatly display output by using strings and the print() function. In this project, you’ll code an application that simulates dice-rolling events. To do so, you’ll use Python’s random module. In this tutorial, you’ll learn how to: […]
Read moreEnergy consumption estimation utilities for Jetson-based platforms
Energy consumption estimation utilities for Jetson-based platforms This repository contains a utility for measuring energy consumption when running various programs in NVIDIA Jetson-based platforms. Currently TX-2, NX, and AGX are supported. Usage If you want to measure the energy consumption of a program, you can directly run the utility providing the command that you want to measure: You can test the utility using a stress test (make sure you have installed stress – apt install stress), e.g., ./p_est stress –cpu […]
Read moreTelegram-Discord Bridge With Python
Скрипт, пересылающий сообщения из нескольких каналов Telegram в один/несколько каналов Discord.Технически это Telegram-юзербот и Discord-бот одновременно. Возможные вопросы Q: Кaк добaвить к себе нa сервер?A: Никaк, это селф-хостед решение. Q: Где хостить?A: Heroku. Скрипт уже aдaптировaн под эту плaтформу, вaм нужно только зaрегистрировaться тaм и прикрепить свою кредитку (денег никто не снимет). Q: Зaчем этот скрипт нужен вообще?A: Без понятия. Я писaл этот скрипт для репостa мемов на сервер, где я сижу, мне нрaвится. Q: Чем этот скрипт отличaется от […]
Read moreVGG16 model-based classification project about brain tumor detection
VGG16 model-based classification project about brain tumor detection. First, you can check what people are doing on Kaggle using Brain Tumor MRI. Cause I benefited them a lot and it’s quite good code parts in it. So here are the links: https://www.kaggle.com/loaiabdalslam/brain-tumor-mri-classification-vgg16 https://www.kaggle.com/ruslankl/brain-tumor-detection-v1-0-cnn-vgg-16 Me and my friend have done the pre-task given by Teknofest “AI in Healthcare” competition. So it’s the classification project and it’s only clustered the brain tomography into ‘yes’ and ‘no’ folders. While I was doing that, […]
Read more