Skip to content

Instantly share code, notes, and snippets.

View colonelpanic8's full-sized avatar

Ivan Malison colonelpanic8

  • San Francisco, CA
View GitHub Profile
(org-time-string-to-time "-30d")
(* 24 6 60 60)
(format-time-string
"<%Y-%m-%d>" (time-subtract (current-time) (days-to-time 1)))
((eq direction :before) (and property-value
))
((eq direction :after) (and property-value
websocket/webrtc server ->
run vision neural nets (yields detections and segmentations) ->
object tracking (takes identifications in a single frame and unifies them temporally) ->
layout detections (yields loose representation of the geometry of the table) (understand long vs short rails) ->
point homography (assuming coordinates in the view that we want find coordinates in the image) ->
homography mapping of the balls (translated image coordinates into top down frame of reference) ->
(pose estimation coorection)
everything here is all frame based temporal data
Traceback (most recent call last):
File "/nix/store/80lbi0xbrz8qfdxn185iph7aidy1a1g2-python3.10-pip-23.0.1/lib/python3.10/site-packages
/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/nix/store/80lbi0xbrz8qfdxn185iph7aidy1a1g2-python3.10-pip-23.0.1/lib/python3.10/site-packages
/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/nix/store/80lbi0xbrz8qfdxn185iph7aidy1a1g2-python3.10-pip-23.0.1/lib/python3.10/site-packages
/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 14 columns, instead of 1 in line 3.
epoch, train/box_loss, train/cls_loss, train/dfl_loss, metrics/precision(B), metrics/recall(B), metrics/mAP50(B), metrics/mAP50-95(B), val/box_loss, val/cls_loss, val/dfl_loss, lr/pg0, lr/pg1, lr/pg2
0, 4.2615, 3.9081, 2.841, 0.6875, 0.59868, 0.67731, 0.27128, 2.0573, 1.2012, 1.2634, 0.0033292, 0.0033292, 0.0033292
1, 1.8612, 1.0492, 1.1803, 0.9145, 0.84116, 0.90756, 0.46477, 1.6397, 0.84675, 1.1008, 0.0066493, 0.0066493, 0.0066493
CPU:
https://www.amazon.com/Intel-i5-13600K-Desktop-Processor-P-cores/dp/B0BCDR9M33/ref=sr_1_2?crid=1UJ8T1VPM3QW6&keywords=13600k&qid=1691179200&sprefix=13600k%2Caps%2C121&sr=8-2&ufe=app_do%3Aamzn1.fos.ac2169a1-b668-44b9-8bd0-5ec63b24bcb5
Motherboard:
https://www.amazon.com/dp/B09RKTL5L3?ref_=cm_sw_r_apin_dp_QYS73XCXMK0C8SKGP32Q
PSU:
import cv2
import math
import numpy as np
from typing import Sequence
from . import labelbox
def calculate_area(mask, h_fov, v_fov, height):
(use-package treesit-auto
:demand t
:config
(progn
(setq treesit-auto-install t)
(global-treesit-auto-mode +1)
(defun treesit-auto-for-each (fn)
(cl-loop for recipe in treesit-auto-recipe-list
do

(use-package treesit-auto :demand t :config (progn (setq treesit-auto-install t) (global-treesit-auto-mode +1)

(defun treesit-auto-for-each (fn) (cl-loop for recipe in treesit-auto-recipe-list do

(use-package lsp-mode :config (progn (lsp–require-packages)

(defun treesit-auto-copy-all-lsp-languages () (cl-loop for recipe in treesit-auto-recipe-list do (let ((from (treesit-auto-recipe-remap recipe)) (to (treesit-auto-recipe-ts-mode recipe)))

treesitter

(use-package typescript-ts-mode
  :disabled t
  :if (and (fboundp 'treesit-ready-p) (treesit-ready-p 'typescript))
  :ensure nil
  :mode ("\\.ts\\'" "\\.tsx\\'")
  :init
  (add-to-list 'treesit-language-source-alist
               '(typescript . ("https://github.com/tree-sitter/tree-sitter-typescript")))