A Transformer that Ponders, using the scheme from the PonderNet paper

Ponder(ing) Transformer Implementation of a Transformer that learns to adapt the number of computational steps it takes depending on the difficulty of the input sequence, using the scheme from the PonderNet paper. Will also try to abstract out a pondering module that can be used with any block that returns an output with the halting probability. This repository would not have been possible without repeated viewings of Yannic’s educational video Install $ pip install ponder-transformer Usage import torch from ponder_transformer […]

Read more

Industrial knn-based anomaly detection for images

Industrial KNN-based Anomaly Detection Industrial knn-based anomaly detection for images. Visit streamlit link to check out the demo. This repo aims to reproduce the results of the following KNN-based anomaly detection methods: SPADE (Cohen et al. 2021) – knn in z-space and distance to feature maps PaDiM* (Defard et al. 2020) – distance to multivariate Gaussian of feature maps PatchCore (Roth et al. 2021) – knn distance to avgpooled feature maps * actually does not have any knn mechanism, but […]

Read more

Real-Time Unsupervised Anomaly Detection with Localization via Conditional Normalizing Flows

CFLOW-AD CFLOW-AD: Real-Time Unsupervised Anomaly Detection with Localization via Conditional Normalizing FlowsWACV 2022 preprint:https://arxiv.org/abs/2107.12571 Abstract Unsupervised anomaly detection with localization has many practical applications when labeling is infeasible and, moreover, when anomaly examples are completely missing in the train data. While recently proposed models for such data setup achieve high accuracy metrics, their complexity is a limiting factor for real-time processing. In this paper, we propose a real-time model and analytically derive its relationship to prior methods. Our CFLOW-AD model […]

Read more

An unofficial version of Alias-Free Generative Adversarial Networks

Alias-Free GAN An unofficial version of Alias-Free Generative Adversarial Networks (https://arxiv.org/abs/2106.12423). This repository was heavily based on Kim Seonghyeon’s (rosinality) implementation. The goal of this version is to be maintainable, easy to use, and expand the features of existing implementations. This is built using pytorch and pytorch lightning (a framework that abstracts away much of the hardware specific code). See open issues unsupported features, planned features, and current bugs. Licence This project is officially licensed as an MIT project. However, […]

Read more

Generate vibrant and detailed images using only text

CLIP Guided Diffusion From RiversHaveWings. Generate vibrant and detailed images using only text. See captions and more generations in the Gallery See also – VQGAN-CLIP This code is currently under active development and is subject to frequent changes. Please file an issue if you have any constructive feedback, questions, or issues with the code or colab notebook. Windows user? Please file an issue if you have any issues with the code. I have no way to test that platform currently […]

Read more

Pomodoro timer that acknowledges the inexorable, infinite passage of time

Pomodouroboros Most pomodoro trackers assume you’re going to start them. But time and tide wait for no one – the great pomodoro of the cosmos is cold and dark, and it goes on forever. For people with ADHD or other executive function disorders, time blindness is common; the inability to notice that time is passing or initiate tasks at an appropriate time. It’s easy to let half the day slip by before starting your first pomodoro. Pomodouroboros’s goal is to: […]

Read more

An exploration of a fantasy world, to autobattle your way to ruling the demesne

Not Quite Paradise 2 (no relation to NQP, I just like the name enough to want to keep it.) Badges! Current position: Quality of last commit: Who dunnit? Design, writing and code by Snayff. Design and writing by PuddingChef. Additional code by DaFluffyPotato. Art by Aleksander Makarov. What is it? A world exploring, army recruiting, auto-battling adventure to take over the kingdom. What’re the terms? (license) In short, code is free to reuse for non-commercial purposes but images are off […]

Read more

Creates Spotify playlists from Spinitron playlists

Creates Spotify playlists from Spinitron playlists. Quick Start You can use spin2spot as a command-line tool: [email protected]:~$ python -m spin2spot https://spinitron.com/WZBC/pl/50067/7DayWknd https://wkdu.org/playlist/32880 Created 2 playlists for user erikcdidriksen. You can also use spin2spot in Python directly: from spin2spot import build_client, create_playlist client = build_client(‘username’) create_playlist(client, ‘http://spinitron.com/radio/playlist.php?station=kwva&playlist=20955’) Prerequsities In order to use spin2spot, you must have the environment variables set up for spotipy as described in their documentation. Command-line flags spin2spot accepts URLs as positional arguments. It also takes two optional […]

Read more

A python tool that periodically collects a list of resources in cloud accounts

Cloudkeeper Cloudkeeper is a standalone CLI tool that periodically collects a list of resources in cloud accounts, provides metrics about them, and can clean them up. If you ever had a standstill in your CI pipeline because a broken job leaked cloud resources which triggered a quota limit wanted to find all the places an expired certificate is used in had to change the tags of thousands of EC2 instances at once needed to delete all unused EBS volumes that […]

Read more

Twitter feed of newly published articles in Limnology

limnopapers Code to monitor limnology RSS feeds and tweet new articles. Scope The keywords and journal choices herein aim to focus on limnology (the study of inland waters). They are also meant to exclude related topics such as fisheries ecology, water resources engineering, estuarine/marine ecology, ecological genetics, and the study of specific “inland seas” like the North American Great Lakes. Feel free to weigh-in in the repository issues on scope recommendations! Usage Query papers that came out prior to today […]

Read more
1 6 7 8 9 10 51