Skip to content

Instantly share code, notes, and snippets.

View cagbal's full-sized avatar
:atom:
Hacking

cagatay odabasi cagbal

:atom:
Hacking
View GitHub Profile
@cagbal
cagbal / stable-diffusion-webui-termux.md
Last active March 5, 2024 21:55 — forked from nviet/stable-diffusion-webui-termux.md
Install stable-diffusion-webui on Termux (Android) + PRoot

Install stable-diffusion-webui on Termux (Android) + PRoot

This will guide you on installing AUTOMATIC1111/stable-diffusion-webui on Termux (Android) + PRoot Distro. Make sure that you have a high-end phone to actually make this usable. On my phone with 8GB RAM, launch the webui alone take at least ~ 2 GB RAM, thus making it impossible to load any model and process further.

1. Prerequisites

First you have to install Termux from F-Droid, Termux from Play store won't work and install PRoot.

Then install and login to Ubuntu in PRoot

@cagbal
cagbal / client.py
Created April 1, 2021 14:33 — forked from ilomon10/client.py
Send image as base64 buffer from client (python opencv) to server (nodejs) using SocketIO
import cv2
import socketio #python-socketio by @miguelgrinberg
import base64
sio = socketio.Client()
sio.connect('http://x.x.x.x:xxxx)
cam = cv2.VideoCapture(0)
while (True):
@cagbal
cagbal / KINETICS_LABELS.md
Created August 16, 2020 20:01 — forked from willprice/KINETICS_LABELS.md
Kinetics Dataset Labels (name to ID)

Kinetics Numeric/String labels

These are mapping files that go between class IDs to class names. These are generated from the training CSV files from each dataset by collecting the unique classes, sorting them, and then numbering them from 0 upwards.

@cagbal
cagbal / KINETICS_LABELS.md
Created August 16, 2020 20:01 — forked from willprice/KINETICS_LABELS.md
Kinetics Dataset Labels (name to ID)

Kinetics Numeric/String labels

These are mapping files that go between class IDs to class names. These are generated from the training CSV files from each dataset by collecting the unique classes, sorting them, and then numbering them from 0 upwards.