Simple (and extensible) python3 externals for maxmsp

py-js: python3 objects for max Simple (and extensible) python3 externals for MaxMSP. Quickstart WARNING this is pre-alpha software. If you are interested to try this out, please note that the current implementation only works on MacOS right now, and requires a compiler to be installed on your system (xcode or the commandline tools via xcode-select –install and that the default build script uses your existing homebrew installed python (currently 3.9.2) and assumes you have already pip installed cython (more detailed […]

Read more

Semantically Proportional Mixing for Augmenting Fine-grained Data

SnapMix SnapMix: Semantically Proportional Mixing for Augmenting Fine-grained Data (AAAI 2021) PyTorch implementation of SnapMix | paper Cite @inproceedings{huang2021snapmix, title={SnapMix: Semantically Proportional Mixing for Augmenting Fine-grained Data}, author={Shaoli Huang, Xinchao Wang, and Dacheng Tao}, year={2021}, booktitle={AAAI Conference on Artificial Intelligence}, } Setup Install Package Dependencies torch torchvision PyYAML easydict tqdm scikit-learn efficientnet_pytorch pandas opencv Datasets create a soft link to the dataset directory CUB dataset ln -s /your-path-to/CUB-dataset data/cub Car dataset ln -s /your-path-to/Car-dataset data/car Aircraft dataset ln -s /your-path-to/Aircraft-dataset […]

Read more

A collection of simulated tasks in PyBullet for learning vision-based robotic manipulation

Ravens – Transporter Networks Ravens is a collection of simulated tasks in PyBullet for learning vision-based robotic manipulation, with emphasis on pick and place. It features a Gym-like API with 10 tabletop rearrangement tasks, each with (i) a scripted oracle that provides expert demonstrations (for imitation learning), and (ii) reward functions that provide partial credit (for reinforcement learning). (a) block-insertion: pick up the L-shaped red block and place it into the L-shaped fixture. (b) place-red-in-green: pick up the red blocks […]

Read more

Several simple examples for popular neural network toolkits calling custom CUDA operators

Neural Network CUDA Example Several simple examples for neural network toolkits (PyTorch, TensorFlow, etc.) calling custom CUDA operators. We provide several ways to compile the CUDA kernels and their cpp wrappers, including jit, setuptools and cmake. We also provide several python codes to call the CUDA kernels, including kernel time statistics and model training. For more accurate time statistics, you’d best use nvprof or nsys to run the code. Environments NVIDIA Driver: 418.116.00 CUDA: 11.0 Python: 3.7.3 PyTorch: 1.7.0+cu110 TensorFlow: […]

Read more

An Albion online fishing bot with python

Fisherman An Albion online fishing bot Discord Server for support and help with this bot! Fisherman is a free open source fishing bot written in python. Features: Customizable Open Source Auto-Catch Multiple Fishing Spots Fully external Works on any screen size Extremely optimal fish catching Uses MSS and OpenCV for effiecent object detection How To Use: If you aren’t using a realtek driver you will have to install VB Audio Cable. Sound has to be ran through VB Audio Cable […]

Read more

A python package to Create and Visualize GSFLOW models

pygsflow pyGSFLOW is a python package to Create, Read, Write, Edit, and Visualize GSFLOW models. Examples Ipython notebook example problems can be found in the examples directory.https://github.com/pygsflow/pygsflow/tree/master/examples Installation The pygsflow repository can be installed using pip.Open a command prompt or anaconda prompt terminal and type: pip install https://github.com/pygsflow/pygsflow/zipball/master pygsflow is now installed Alternatively the user can download a copy of the repository, open a command prompt or anaconda promt terminal, cd into the trunk directory and type: pip install . […]

Read more

Matplotlib: Plot Multiple Line Plots On Same and Different Scales

Introduction Matplotlib is one of the most widely used data visualization libraries in Python. From simple to complex visualizations, it’s the go-to library for most. In this tutorial, we’ll take a look at how to plot multiple line plots in Matplotlib – on the same Axes or Figure. If you’d like to read more about plotting line plots in general, as well as customizing them, make sure to read our guide on Plotting Lines Plots with Matplotlib. Plot Multiple Line […]

Read more

Matplotlib Pie Chart – Tutorial and Examples

Introduction There are many data visualization libraries in Python, yet Matplotlib is the most popular library out of all of them. Matplotlib’s popularity is due to its reliability and utility – it’s able to create both simple and complex plots with little code. You can also customize the plots in a variety of ways. In this tutorial, we’ll cover how to plot a Pie Chart in Matplotlib. Pie charts represent data broken down into categories/labels. They’re an intuitive and simple […]

Read more

Matplotlib Scatter Plot with Distribution Plots (Joint Plot) – Tutorial and Examples

Introduction There are many data visualization libraries in Python, yet Matplotlib is the most popular library out of all of them. Matplotlib’s popularity is due to its reliability and utility – it’s able to create both simple and complex plots with little code. You can also customize the plots in a variety of ways. In this tutorial, we’ll cover how to plot a Joint Plot in Matplotlib which consists of a Scatter Plot and multiple Distribution Plots on the same […]

Read more

A Python library for neural architecture search

naszilla A repository to compare many popular NAS algorithms seamlessly across three popular benchmarks (NASBench 101, 201, and 301). You can implement your own NAS algorithm, and then easily compare it with eleven algorithms across three benchmarks. Installation Clone this repository and install its requirements (which includes nasbench,nas-bench-201, and nasbench301).It may take a few minutes. git clone https://github.com/naszilla/naszilla cd naszilla cat requirements.txt | xargs -n 1 -L 1 pip install pip install -e . You might need to replace line […]

Read more
1 20 21 22 23