A dead simple python wrapper for darknet that works with OpenCV 4.1, CUDA 10.1

Dead simple python wrapper for Yolo V3 using AlexyAB’s darknet fork. Works with CUDA 10.1 and OpenCV 4.1 or later (I use OpenCV master as of Jun 23, 2019) OpenCV’s DNN module, as of today, does not support NVIDIA GPUs. There is a GSOC WIP that will change this. Till then, this library is what I needed. I used Alexy’s fork because he keeps it more updated with required changes (like using std++-11 etc.).W Other excellent libraries such as pyyolo, […]

Read more

CircuitPython library for the CH559 USB to Serial chip

Why? Because you might want to get keyboard/mouse/gamepad/HID input into your CircuitPython projects without having to think much about USB. Usage Copy the adafruit_hid CircuitPython library bundle into the lib directory on your CircuitPython device. Copy the ch559.py file into the lib directory on your CircuitPython device. Hook up the CH559’s Tx and Rx pins to your desired UART pins on the CircuitPython device. (In the example image below, I am using pins D6 (TX) and D7 (RX) on a […]

Read more

Fixes your Microphone Level to one specific value

Fixes your Microphone Level to one specific value. A friend of mine has the problem that some programs are setting his microphone level up to 100.Now he can use this script to lower his level automaticly on boot. Open the Project in a IDE of your choice. I developed it in PyCharm.Execute the main.py. The Program will promt “Input wish percentage:” ,if you dont have the level.cfg. You will have to type in what percentageyou want your microphone to have. […]

Read more

Release of the ConditionalQA dataset

Datasets accompanying the paper ConditionalQA: A Complex Reading Comprehension Dataset with Conditional Answers. Disclaimer This dataset should ONLY be used for NLP research purpose. Answers are NOT verified by legal professionals and should NOT be used for any legal purposes. Evaluate Please generate your predictions using the format sample_output.json. Run the following command to evaluate your predictions with evaluate.py: python evaluate.py –pred_file=sample_output.json –ref_file=v1_0/dev.json Leaderboard Submit your predictions to the Leaderboard. Please email your Codalab username to if you would like […]

Read more

A simple tool for searching images inside a local folder with text/image input using CLIP

(WIP) A simple tool for searching images inside a local folder with text/image input using CLIP 10 results for “a blonde woman” in a folder of 30k randomly generated faces Installation Install with GPU support if you want to use GPUInitially encoding images might run faster with GPU, but from limited testing it seems like searching with a saved dictionary might be faster on cpu. git clone https://github.com/kanttouchthis/clip-search.git cd clip-search git clone https://github.com/openai/CLIP.git pip install -r CLIP/requirements.txt Usage Basic Usage:

Read more

An API which would colorize a black and white image

Image Colorization API Machine Learning Model used- https://github.com/richzhang/colorization/tree/caffe Paper – Steps to run the api locally- Clone the repository Run pip install -r requirements.txt After successful installation run uvicorn main:app –reload to start the server Go to 127.0.0.1:8000 to check endpoints and 127.0.0.1:8000/docs#/ to test the endpoints GitHub View Github    

Read more

Information-Theoretic Multi-Objective Bayesian Optimization with Continuous Approximations

Information-Theoretic Multi-Objective Bayesian Optimization with Continuous Approximations Requirements The code is implemented in Python and requires the following packages: sobol_seq platypus sklearn.gaussian_process Citation If you use this code in your academic work please cite our JAIR paper: “A General Output Space Entropy Search Framework for Multi-Objective Bayesian Optimization ” and our workshop paper “Information-Theoretic Multi-Objective Bayesian Optimization with Continuous Approximations” , Syrine Belakaria, Aryan Deshwal, Janardhan Rao Doppa. GitHub – belakaria/iMOCA at pythonawesome.com Contribute to belakaria/iMOCA development by creating an […]

Read more

Python implementation of image filters (such as brightness, contrast, saturation, etc.)

Python implementation of image filters Use Python to adjust brightness and contrast, add blur, and detect edges! Follow along tutorial: https://youtu.be/4ifdUQmZqhM In order to download this code, either click the green button at the top right and download as ZIP, or use git clone https://github.com/kying18/pyphotoshop.git. You will need to pip install -r requirements.txt (or use pip3 if you are getting a module not found error). In the folder, you will find these files: image.py: contains the Image class that will […]

Read more
1 23 24 25 26 27 50