Pytorch implementation of Generative Models as Distributions of Functions

Generative Models as Distributions of Functions This repo contains code to reproduce all experiments in Generative Models as Distributions of Functions. Requirements Requirements for training the models can be installed using pip install -r requirements.txt. All experiments were run using python 3.8.10. Training a model To train a model on CelebAHQ64, run python main.py configs/config_celebahq64.json Example configs to reproduce the results in the paper are provided in the configs folder. Note that you will have to provide a path to […]

Read more

A framework for highlighting and correcting grammatical errors on natural language text

Gramformer Human and machine generated text often suffer from grammatical and/or typographical errors. It can be spelling, punctuation, grammatical or word choice errors. Gramformer is a library that exposes 3 seperate interfaces to a family of algorithms to detect, highlight and correct grammar errors. To make sure the corrections and highlights recommended are of high quality, it comes with a quality estimator. You can use Gramformer in one or more areas mentioned under the “use-cases” section below or any other […]

Read more

Simultaneous localisation and categorization of objects in medical images

nnDetection Simultaneous localisation and categorization of objects in medical images, also referred to as medical object detection, is of high clinical relevance because diagnostic decisions depend on rating of objects rather than e.g. pixels. For this task, the cumbersome and iterative process of method configuration constitutes a major research bottleneck. Recently, nnU-Net has tackled this challenge for the task of image segmentation with great success. Following nnU-Net’s agenda, in this work we systematize and automate the configuration process for medical […]

Read more

The toolkit to autolabal dataset for instance segmentation

Ozeu Ozeu is the toolkit to autolabal dataset for instance segmentation. You can generate datasets labaled with segmentation mask and bounding box from the recorded video files. Installation Requirements Example installation command for cuda11.1. pip install torch==1.8.1+cu111 torchvision==0.9.1+cu111 torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html pip install mmcv-full==1.3.5 -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html pip install git+https://github.com/open-mmlab/[email protected] git clone [email protected]:xiong-jie-y/ozeu.git cd ozeu pip install -e . Usage 1. Record Video I recommend record video with the camera where you want to run detector.For webcam, you can use command […]

Read more

Make Gaussian 09 input files for the Rotamers of a given compound

Rotapy Make Gaussian 09 input files for the Rotamers of a given compound. Purpose Generate Gaussian 09 input files for the rotamers of an input compound. Distance to the axis of rotation remains constant throughout the rotation. Usage This methyl group will be used as the example. Our goal is to make 6 rotomers with the Hydrogens shifted by 60 degreesfrom each other. 1a. If running the python directly, place the .log files you wish to ‘rotamate’ into the root […]

Read more

A TikTok-like recommender system for GitHub repositories based on Gorse

GitRec GitRec is the missing recommender system for GitHub repositories based on Gorse. Architecture The trending crawler crawls trending repositories and insert them into Gorse as new items. The user starred crawler crawls user starred repositories and insert them into Gorse as new fewdback. GitRec web service pulls recommendations from Gorse and show to users. It also submits a crawling request to the user starred crawler when a new user signed in. Quick Start First, clone the repository and enter […]

Read more

A clearer, shorter and cleaner PyGame codebases

hooman ~ pygame for humans pip install hooman join discord: https://discord.gg/Q23ATve The package for clearer, shorter and cleaner PyGame codebases! Fun fact: Codementor.io tweeted about Hooman tagged #LearnPython #100DaysOfCode See a snake game taken from edureka: import pygame import time import random pygame.init() white = (255, 255, 255) yellow = (255, 255, 102) black = (0, 0, 0) red = (213, 50, 80) green = (0, 255, 0) blue = (50, 153, 213) dis_width = 600 dis_height = 400 dis […]

Read more

A pygame program that generates a maze and solves itself using a DFS algorithm

Maze Generator And Solver Program Purpose: Generates a maze that then solves itself Language: Python and Pygame Algorithm: Randomized DFS / Floodfill / Recursive Backtracking How the program works Generation Maintain a matrix that keeps track of visited cells Maintain a stack that keeps track of cells on the current path Start at the top left cell Randomly choose one of the available neighbor cells If there are none, go to previous cell in the stack Color visited cells blue, […]

Read more

Simple subcommand CLIs with argparse

multicommand Simple subcommand CLIs with argparse. multicommand uses only the standard library and is ~100 lines of code (modulo comments and whitespace) Installation pip install multicommand Overview Multicommand enables you to easily write CLIs with deeply nested commands using vanilla argparse. You provide it with a package, it searches that package for parsers (ArgumentParser objects), and connects, names, and converts those parsers into subcommands based on the package structure. Package -> CLI commands/unary/negate.py mycli unary negate … commands/binary/add.py mycli binary […]

Read more

Generating Anime Images by Implementing DC GAN paper

AnimeGAN PyTorch implementation of DCGAN introduced in the paper: Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks, Alec Radford, Luke Metz, Soumith Chintala. Generative Adversarial Networks (GANs) are one of the most popular (and coolest)Machine Learning algorithms developed in recent times. They belong to a set of algorithms called generative models, whichare widely used for unupervised learning tasks which aim to learn the uderlying structure of the given data. As the namesuggests GANs allow you to generate new unseen […]

Read more
1 661 662 663 664 665 973