A simple python application built around the openCV library

BoxToolBox is a simple python application built around the openCV library. It is not a full featured application to guide you through the whole process. It is a missing piece in your toolchain between Lightroom and Photoshop. You still need to take you box pictures as straight as possible with the same camera settings and pre-process them to match the lighting. It will help you to correct perspective of the source photos quickly test the layout and arrangement place photos […]

Read more

A Higher-Lower web game made in Python using Flask framework

Guess the random number from 0 to 9 in this web game made with Python and Flask Framework Modules that were used In case you don’t have Flask module installed just type the code below in a terminal: How to setup the game After downloading and installing Flask, you must setup the FLASK_APP environment variable: To run the application, use the flask command or python -m flask. Before you can do that you need to tell your terminal the application […]

Read more

Show apps recorded storage files by jailbreak

Show registered storage files of apps by jailbreak Legal disclaimer: Usage of insTof for attacking targets without prior mutual consent is illegal. It’s the end user’s responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program Getting Started git clone https://github.com/0xfff0800/0x101.git cd 0x101 python3 0x101.py A Kali Linux operating system. We recommend : Kali Linux 2 or Kali 2016.1 rolling Cyborg Parrot BackTrack […]

Read more

Simple TUI for quickly connecting to existing scripts/tools

Simple TUI for quickly connecting to existing scripts/tools.This is intended to be a simple TUI with very basic features. The idea is to create a common library to handle graphically some information while connected to remote terminals. Daily I have to connect to hundreds of servers (linux) remotely and also manage Docker containers (in the servers or in Kubernetes in the cloud – AWS). At work, we do use IaaC (Ansible) for managing everything, but we still have tons of […]

Read more

RoMA: Robust Model Adaptation for Offline Model-based Optimization

Implementation of RoMA: Robust Model Adaptation for Offline Model-based Optimization (NeurIPS 2021). Setup conda create -n roma python=3.7 conda activate roma pip install -r requirement.txt Run experiments python run.py –task [TASK] where available tasks are TASKS=[ant, superconductor, dkitty, hopper, gfp, molecule]. Citation @inproceedings{ yu2021roma, title={RoMA: Robust Model Adaptation for Offline    

Read more

Example project demonstrating using Django’s test runner with Coverage.py

Example project demonstrating using Django’s test runner with Coverage.py Set up with: python -m venv –prompt . venv source venv/bin/activate python -m pip install -r requirements.txt Run tests in parallel mode with coverage with this combination of commands: coverage erase && coverage run manage.py test –parallel 2 && coverage combine && coverage report You can also omit the number 2 to use as many test processes as there are CPU cores.But on Django < 4.0 this will trigger a warning: [...]

Read more

Revisiting Discriminator in GAN Compression: A Generator-discriminator Cooperative Compression Scheme

Overview Prerequisites Linux Python 3 CPU or NVIDIA GPU + CUDA CuDNN Getting Started Installation Please type the command pip install -r requirements.txt to install dependencies. Data preparation cityscapes horse2zebra celeb Coco, Set5, Set14, B100, Urban100 Pretrained Model We provide a list of pre-trained models in link. Pre-Training For Pruning Run the following script to pretrain a pix2pix on cityscapes dataset for generator pruning,all scripts for sagan, cyclegan, pix2pix, srgan can be found in    

Read more

Light-weight network, depth estimation, knowledge distillation, real-time depth estimation, auxiliary data

Boosting Light-Weight Depth Estimation Via Knowledge Distillation, https://arxiv.org/abs/2105.06143 Junjie Hu, Chenyou Fan, Hualie Jiang, Xiyue Guo, Yuan Gao, Xiangyong Lu, Tin Lun Lam Introduction This repo provides trained models and evaluation code for the light weight model for depth estimation. We aim to enable depth estimation to be both computationally efficient and accurate.We developed a knowledge distillation method with auxiliary unlabeled/labeled data for this purpose. We found that: Even without access to the original training set, we can still successfully […]

Read more

A simple note taker CLI program written in python

A simple note taker program written in python This allows you to snip your todo’s, notes, and your tasks easily without extra charges Requirements Only requirement is python3 and an unix operating system and windows supports python (windows may have limited support) You can create a first note by create argument. example session: ~ $ ./note-taker.py create Enter your Note title: Take out the trash Write your note: I will not forget to take out the    

Read more
1 397 398 399 400 401 928