MCTS (among other things) for 2048

2048 Created by Chad Palmer for CPSC 474, Fall 2021 Overview: This is an application which can play 2048 and simulate games of 2048 with a variety of different computational intelligences, the highest performing of which is MCTS. With MCTS with 1000 iterations (./Driver -simulate m 1000 -display), the agent achieves scores comparable to a skilled human player (usually wins, occasionally achieves the 4096 tile). Flat Monte Carlo also works very well. The entire program runs a bit slower than […]

Read more

Demonstrates how to create a tested Python package using the latest Python testing and linting tooling

Example Python project that demonstrates how to create a tested Python package using the latestPython testing and linting tooling. The project contains a fact package that provides a simpleimplementation of the factorial algorithm (fact.lib)and a command line interface (fact.cli). Requirements Python 3.6+. Note Because Python 2.7 support ended January 1, 2020, new projectsshould consider supporting Python 3 only, which is simpler than trying to support both. As aresult, support for Python 2.7 in this example project has been dropped. Windows […]

Read more

CaptchaCracker: an open source Python library that provides functions to create and apply deep learning models for Captcha Image recognition

한국어 문서 Introduction CaptchaCracker is an open source Python library that provides functions to create and apply deep learning models for Captcha Image recognition. You can create a deep learning model that recognizes numbers in the Captcha Image as shown below and outputs a string of numbers, or you can try the model yourself. Input Output Installation pip install CaptchaCracker Dependency

Read more

BMP180 sensor driver for Home Assistant used in Raspberry Pi

Custom component BMP180 sensor for Home Assistant. Copy the content of this directory to your homeassistant config directory: example: ./config/custom_components/dev_747_BMP180/ ##Requirements:Enable I2C communication in Raspberry via raspi-config and install dependencies for handeling I2C communication in Python sudo apt-get update sudo apt-get install python3-smbus python3-dev i2c-tools ##Parameters: i2c_address: I2C address of BMP180 (typical 0x77) i2c_bus_num: I2C bus number (default raspberry = 1) name: custom name of the sensor mode: 0 – Ultra low power, 1 – standard, 2 – high resolution, […]

Read more

Message Encrypt and decrypt software, allows you to encrypt the secrete message and decrypt Another Encryption Message

Message Encrypt and decrypt software // allows you to encrypt the secrete message and decrypt Another Encryption Message. | Requirements Install Base64 for Encryption and Decrpytion To Install This Module Follow This Step pip install base64 If You Don’t Have Last version Pip Upgrade First And InstallTo Upgrade Pip Write This Command On The Command Prompt python -m pip install –upgrade pip Encrpytion Mode Decryption Mode GitHub View Github    

Read more

Learning from Guided Play: A Scheduled Hierarchical Approach for Improving Exploration in Adversarial Imitation Learning

Trevor Ablett*, Bryan Chan*, Jonathan Kelly (*equal contribution) Poster at Neurips 2021 Deep Reinforcement Learning Workshop Adversarial Imitation Learning (AIL) is a technique for learning from demonstrations that helps remedy the distribution shift problem that occurs with Behavioural Cloning. Empirically, we found that for manipulation tasks, off-policy AIL can suffer from inefficient or stagnated learning. In this work, we resolve this by enforcing exploration of a set of easy-to-define auxiliary tasks, in addition to a main task. This repository contains […]

Read more

POC for detecting the Log4Shell (Log4J RCE) vulnerability

POC for detecting the Log4Shell (Log4J RCE) vulnerability. Run on a system with python3python3 log4shell-poc.py pathToTargetFile – containing a list of targets (targets are seperated by newlines) InteractionURL – the endpoint used to monitor out of band data extraction or interactions, e.g: https://github.com/projectdiscovery/interactsh Example Output

Read more

A basic implementation of Layer-wise Relevance Propagation (LRP) in PyTorch

Basic unsupervised implementation of Layer-wise Relevance Propagation (Bach et al.,Montavon et al.) in PyTorch for VGG networks from PyTorch’s Model Zoo.This tutorial served as a starting point.In this implementation, I tried to make sure that the code is easy to understand and easy to extend to othernetwork architectures. I also added a novel relevance propagation filter to this implementation resulting in much crisper heatmaps(see my blog for more information).If you want to use it, please don’t forget to cite this […]

Read more

Kivy program for identification & rotation sensing of objects on multi-touch tables

ObjectViz is a multitouch object detection solution, enabling you to createphysical markers out of any reliable multitouch solution. It’s easily configurable and pluggable, using TUIO as a communication protocolwith client applications. Documentation To build the documentation (on ubuntu) you need texlive-base texlive-fonts-extra go to the docs directory and run make latexpdf Build & Package A makefile in packaging is used for the various operations: to install the dependencies, ensure python3.6 or newer is installed then: make -f packaging/Makefile Deps To […]

Read more
1 305 306 307 308 309 916