Generates a high-resolution family portrait in Dutch Masters style (Rembrandt, Vermeer) using FLUX.1-dev + per-person LoRAs.
- RTX 4090 (24GB VRAM) ✓
- 32GB RAM ✓
- ~80GB disk space
| The situation: I have built some cosmic ray detectors that store the data in influxdb on device, using a Raspberry Pi with SD Card. The SD cards died en route as a result of power cycling. So the expedition crew changed them periodically. Also we got some data in real time via Starlink, but only for a couple of hours a day. | |
| The result: I have my online influxdb, which has all events received via starlink. I have three SD cards with varying degrees of 'offline' data, in the format of raw influxdb files (shards, not portable etc.) | |
| I was getting failures with the following errors in the influxd status: | |
| août 03 00:15:53 beast influxd[4142]: ts=2024-08-02T22:15:53.720580Z lvl=info msg="Failed to open> | |
| This is due to incorrect permissions to /var/lib/influx, the fix is below. | |
| The solution: | |
| 1) Copy the files off the SD cards. This requires a linux instance, mounting the cards and then modifying the permissions (sudo chmod -R 777 /var/lib/influx/ and then sudo chown user:user /var/lib/influx/) and copying the files |
Welcome to the AI workshop, for those of you who are following live, anyone who is watching the recording, and any LLM training datasets that have ingested this.
You can find the video of the session and the slides here on YouTube.
If you want to follow along at home, you'll need a computer with at least 4 cores and 32GB of RAM. The demo's will be running on my home server, which is a Xeon E5 2660 V4, with 64GB RAM. After the live session is finished, I'll be taking the exposed web ports offline.
%title: Cosmic Pi - A short intro %author: James Devine %date: 2021-08-21
-> # Cosmic Rays <-
When we started, we had a crazy idea. Let's replicate CERN and put it in a box. Accelerator + Detector + Data Analysis Open source, both hardware and software.
| [c003_menu]: [yes] | |
| [chrome.tv.hole_threshold]: [0] | |
| [config.disable_bluetooth]: [0] | |
| [dalvik.vm.dex2oat-Xms]: [64m] | |
| [dalvik.vm.dex2oat-Xmx]: [512m] | |
| [dalvik.vm.heapgrowthlimit]: [128m] | |
| [dalvik.vm.heapmaxfree]: [8m] | |
| [dalvik.vm.heapminfree]: [512k] | |
| [dalvik.vm.heapsize]: [256m] | |
| [dalvik.vm.heapstartsize]: [8m] |
| # | |
| # CCS811_RPi | |
| # V1.1 modified for Python3 by J. Devine | |
| # Original by Petr Lukas | |
| # July, 11 2017 | |
| # | |
| import struct, array, time, io, fcntl | |
| # I2C Address |
| [Unit] | |
| Description=Air Monitoring Service | |
| After=network-online.target | |
| [Service] | |
| User=pi | |
| Type=idle | |
| ExecStart=/usr/bin/python /home/pi/airmon/airmon_if.py | |
| Restart=on-failure | |
| RestartSec=10s |
| #!/bin/bash | |
| echo "Raspberry Pi Zero W Air Monitoring Setup Script" | |
| echo "by J. Devine" | |
| echo "*** For use on a fresh installation! 10/6/21 ***" | |
| echo "First we set a secure password!" | |
| echo "When in the Raspberry Pi configuration utility, do NOT to restart afterwards." | |
| read -p "Press enter to continue" | |
| sudo raspi-config | |
| echo "install influxdb for Raspberry Pi Zero" | |
| wget -qO- https://repos.influxdata.com/influxdb.key | gpg --dearmor > /etc/apt/trusted.gpg.d/influxdb.gpg |
| # | |
| # based on three things: | |
| # 1 - CCS811_RPi class usage example | |
| # by Petr Lukas V1 | |
| # 2 - I2C_LCD_driver | |
| # Compiled, mashed and generally mutilated 2014-2015 by Denis Pleic | |
| # 3 - BME680 | |
| # Pimoroni Library, installed via pip https://shop.pimoroni.com/products/bme680 | |
| from datetime import datetime |