When to trust your model: Model-based policy optimization in offline RL settings

This repository contains the code of a version of model-based RL algorithm MBPO, which is modified to perform in offline RL settingsPaper:When to trust your model: Model-based policy optimizationWith much thanks, this code is based on Xingyu-Lin‘s easy-to-read pytorch implementation of MBPO See requirements.txtThe code depends on D4RL‘s environments and datasetsOnly support hopper, walker, halfcheetah and ant environments right now (if you wish to evaluate in other environments, modify the termination function in predict_env.py) Simply run python main_mbpo.py –env_name=halfcheetah-medium-v0 –seed=1234 […]

Read more

A configuration management library for Python based on pydantic

ConfZ is a configuration management library for Python based on pydantic.It easily allows you to load your configuration from config files, environment variables, command line arguments and more sources transform the loaded data into a desired format and validate it access the results as Python dataclass-like objects with full IDE support It furthermore supports you in common use cases like: Multiple environments Singleton with lazy loading Config changes for unit tests Custom config sources 📦 Installation ConfZ is on PyPI […]

Read more

A full stack e-learning application, the backend using django restframework and docker

API Service backing client interfaces Technologies Description Getting Started Getting started with this project is very simple, all you need is to have Git and Docker Engine installed on your machine. Then open up your terminal and run this command git clone https://github.com/decadevs/devsprime-api.git to clone the project repository. Change directory into the project folder cd devsprime-api and build the base python image used for the project that was specified in dockerfile by running docker build . Note the dot (.) […]

Read more

OAuth Device Code Authorization Phishing Script

Some scripts to utilise device code authorization for phishing. High level overview as per the instructions as: https://o365blog.com/post/phishing/ An attacker connects to /devicecode endpoint and sends client_id and resource After receiving verification_uri and user_code, create an email containing a link to verification_uri and user_code, and send it to the victim. (delivering the phishing email is not in scope for this project) Victim clicks the link, provides the code and completes the sign in. The attacker receives access_token and refresh_token and […]

Read more

Syrax Check User Bot Discord.py

Guida Italianail bot nasce con lo scopo di poter caricare il proprio nome utente,tag e foto profilo al forum tramite un comando al botsono coscente che ci sarebbe l’api di discord ma volevo fare qualcosa di strano e che mi facesse provare il pythoncosì ho creato questo bot che tramite un id univoco invia i dati al database per il momento è una specie di beta il bot sviullupatori social dati inviati nome utente + id (Pippoide#5805) link della foto […]

Read more

A fishing bot script written in Python

A fishing bot script written in Python! Install Python 3 In project directory runpip install pyautogui opencv-python Set your game to window mode Use resolution to 1920×1080 Set the B key for free view Then in the project directory run… python fishbot.py GitHub View Github    

Read more

A website to analyze and generate report of students based on the curriculum that represents student’s academic performance

Developed a website to analyze and generate report of students based on the curriculum that represents student’s academic performance. We have developed the system such that, it will automatically parse data onto the database from excel file, which will in return reduce time consumption of analysis of data. After completing the template, proceed to the “Process data” functionality using the left navigational pane. This function will guide you through processing the prepared dataset, and allow you to update any mislabelled […]

Read more

A Dungeon and Dragons Toolkit using Python

A Dungeon and Dragons Toolkit using Python Rules:-When you are commiting please don’t delete parts of the code that are important-All things related to the dungeons master should not be included Reminder:-You can always add new goals if you feel like somethings missing-Comment the code Goals:-A spell library WIP-Categorize-By Class-By Usage-Description-Stats-A Creature’s Library-Stats-A Class Library-Stats-Starting Wealth-Avaliable Armor-Level Stat Increases-Special Stats-Abilities-Dice Roller-Standard Input and Output WIP-A Race Libary-A Equipment Library-Stats-Description-Armor-Weapon GitHub View Github    

Read more

Cohort Intelligence used to solve various mathematical functions

About Cohort Intelligence : Cohort Intelligence ( CI ) is an optimization technique. It attempts to model the behavior often observed in a self-organizing system in which candidates in a cohort interact and compete with one another in order to achieve shared goals. Each candidate tries to improve its own behavior by observing the behavior of every other candidate in that cohort. Each candidate in the cohort follows a certain behavior which may result in the improvement of its own […]

Read more
1 15 16 17 18 19 50