Build a Site Connectivity Checker in Python

Building a site connectivity checker in Python is an interesting project to level up your skills. With this project, you’ll integrate knowledge related to handling HTTP requests, creating command-line interfaces (CLI), and organizing your application’s code using common Python project layout practices. By building this project, you’ll learn how Python’s asynchronous features can help you deal with multiple HTTP requests efficiently. In this tutorial, you’ll learn how to: Create command-line interfaces (CLI) using Python’s argparse Check if a website is […]

Read more

A contrastive learning based semi-supervised segmentation network for medical image segmentation

A contrastive learning based semi-supervised segmentation network for medical image segmentation This repository contains the implementation of a novel contrastive learning based semi-segmentation networks to segment the surgical tools. Fig. 1. The architecture of Min-Max Similarity. 🔥 NEWS 🔥 The full paper is available: Min-Max Similarity Environment conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cudatoolkit=11.1 -c pytorch -c conda-forge conda install opencv-python pillow numpy matplotlib git clone https://github.com/AngeLouCN/Min_Max_Similarity Data Preparation We use three dataset to    

Read more

A skeleton action recognition toolbox

PYSKL is a toolbox focusing on action recognition based on SKeLeton data with PYTorch. Various algorithms will be supported for skeleton-based action recognition. We build this project based on the OpenSource Project MMAction2. This repo is the official implementation of PoseConv3D and STGCN++. Skeleton-base Action Recognition Results on NTU-RGB+D-120 Supported Algorithms Installation git clone https://github.com/kennymckormick/pyskl.git cd pyskl pip install -r requirements.txt pip install -e . Data Preparation For data pre-processing, we estimate 2D skeletons with a two-stage pose estimator   […]

Read more

Program that makes the daily searches for PC and Mobile for now

Program that makes the daily searches for PC and Mobile using Python and Selenium. The points you can win depends on the level of the account. First of all, you need to login to your account on Edge. The program uses the browser data to prevent the saving of credentials and avoid logging every time the program executes. Second, install the required dependencies: pip install -r requirements.txt & pip install -r requirements.txt Run the program and it automatically starts Edge […]

Read more

Pytorch lightning tutorial using MNIST

Pytorch lightning tutorial using MNIST Youtube stream (Maybe there will be another… still planning!) Pytorch lightning introduction scheduler introduction (Japanese) Python>=3.7, creation using anaconda is recommended. Install libraries by pip install -r requirements.txt. Run (example) python train.py –root_dir “./” It will download the dataset to root_dir and start training. You can monitor the training process by launching tensorboard in another terminal: tensorboard –logdir logs And go to localhost:6006 in your browser. GitHub View Github    

Read more

Few hacks to speed up defining apis based on django rest framwork, inspired from fastapi

Few hacks to speed up defining APIs based on django rest framwork, inspired from fastapi First version tested on: python 3.9 and django 4.0 Features: Function based view Easy to use decorator Accepts validation of input and output using DRF serializers Accept CamelCased input and group all rest input methods in same dict :req Jsonify and camelcase any type of output: str, dict, QuerySet, Model AutoSchema docs using drf-spectacular Error handler that works with DRF Better way to pass the […]

Read more

Official Pytorch code for OW-DETR: Open-world Detection Transformer

[Paper] Akshita Gupta*, Sanath Narayan*, K J Joseph, Salman Khan, Fahad Shahbaz Khan, Mubarak Shah (🌟 denotes equal contribution) Introduction Open-world object detection (OWOD) is a challenging computer vision problem, where the task is to detect a known set of object categories while simultaneously identifying unknown objects. Additionally, the model must incrementally learn new classes that become known in the next training episodes. Distinct from standard object detection, the OWOD setting poses significant challenges for generating quality candidate proposals on […]

Read more

A very simple tool that compresses the overall size of the ONNX model by aggregating duplicate constant values as much as possible

A very simple tool that compresses the overall size of the ONNX model by aggregating duplicate constant values as much as possible. Simple Constant value Shrink for ONNX. If the same constant tensor is found by scanning the entire graph for Constant values, it is aggregated into a single constant tensor. Ignore scalar values. Ignore variables. 1. Setup

Read more

A plugin loader for the Steam Deck

Installation Go into the Steam Deck Settings Under System -> System Settings toggle Enable Developer Mode Scroll the sidebar all the way down and click on Developer Under Miscellaneous, enable CEF Remote Debugging Place the executable under ~/homebrew/services/plugin_loader. Do not change the name of the file. Place the plugin_manager.service file under /etc/systemd/system Open a Terminal and type systemctl –now –user enable plugin_manager Install Plugins Simply copy the plugin’s .py file into ~/homebrew/plugins Features Clean injecting and loading of one or […]

Read more

Reddit Drawing Bot Running Instructions

Setting up the requirements Download the Python installer from here Make sure “Add Python 3.9 to PATH is ticked Click on Customize installation, and make sure everything is ticked Click on “Next” Make sure “Add Python to environment variables” is ticked” Click install. and let it go Python Package Requirements To run the bot for the first time, install the requirements. Windows pip install -r requirements.txt simply open the directory you’ve extracted the bot to, and type cmd in the […]

Read more
1 3 4 5 6 7 11